1

Topic: Dovecot: internal quota calculation error

I got the same error in /var/log/maillog.

Oct 12 00:30:08 mail postfix/qmgr[13124]: B9E5C23405C3: from=<akash.kumar@example.com>, size=1523, nrcpt=1 (queue active)
Oct 12 00:30:08 mail postfix/pipe[18296]: B9E5C23405C3: to=<akash.kumar@example.com>, relay=dovecot, delay=2258, delays=2258/0.03/0/0.03, dsn=4.3.0, status=deferred (temporary failure)


Following is /var/log/sieve.log


Oct 12 00:30:08 deliver(akash.kumar@example.com): Error: Internal quota calculation error
Oct 12 00:30:08 deliver(akash.kumar@example.com): Info: msgid=<5522d79a6fb2aa8e54bfb9dce1e77463@example.com>: save failed to INBOX: Internal error occurred. Refer to server log for more information. [2011-10-12 00:30:08]

If i keep quota = 0 ie unlimited, i don't get any error message. The mail is sent properly and saved in Sent Items.

But If i keep quota = 512 or something, I keep on getting the same message. The Mail is sent, but is not saved in sent Item.

Please help. I need to assign users quota and don't want to give them unlimited storage.

2

Re: Dovecot: internal quota calculation error

You can keep mailbox.quota=512. Then set both columns mailbox.bytes and mailbox.messages to -1, it will force Dovecot to recalculate realtime mailbox usage.

Reference: http://iredmail.org/wiki/index.php?titl … lbox.Quota

3

Re: Dovecot: internal quota calculation error

Hi,

I tried the solution given in earlier post.

But still I get the same error in mailq :

7811422C8667   360059 Mon Oct 17 20:53:16  test@example.com
                                                           (temporary failure)
                                         test1@example.com


Please help. I have got nearly 300+ mails stuck in mailq.

4

Re: Dovecot: internal quota calculation error

This error message is helpless. Please extract related error log in Postfix log file.

You can redeliver this mail immediately and get error log in postfix log file:

# postqueue -f