True - but I think there's needs to be a pop3 or imap transaction first - an smtp transaction may not do it. So in the case where a user uses webmail exclusively dovecot may not get a chance to operate before squirrelmail errors out.  This is speculation on my part since I have not traced anything through.


On 11/1/2019 10:42 AM, Eric Broch wrote:

Odd! Even though the cron job deleted maildirsize it should be recreated by Dovecot. This is my experience.

On 11/1/2019 7:45 AM, Jeff Koch wrote:
I think I may have found the problem.

I had a cron job running that was copied from an old version of Bill's Toaster that was deleting the maildirsize and quotawarn files on all domains once a day at midnight. The purpose was to force maildirsize to recalculate because we had had a problem with users getting quota warnings when their accounts were clearly not over quota.

I presume that the result of having done the above was to provide squirrel mail with null data on quota status leading to the errors we were getting.

I removed the cron job. We'll see what happens now.

Thanks to everyone for thinking through this for me .

Regards, Jeff Koch

On 10/31/2019 10:35 AM, Eric Broch wrote:
When I create a user with vadduser the maildirsize file is automatically created. When I open squirrelmail whatever is in this file is reflected in as quota. If I logout of squirrelmail and delete the file maildirsize and then log back in the file is created automatically by, I think, Dovecot. These are my dovecot settings

grep quota /etc/dovecot/*.conf

/etc/dovecot/toaster.conf:mail_plugins = $mail_plugins quota
/etc/dovecot/toaster.conf:plugin/quota = maildir
/etc/dovecot/toaster.conf:  args = cache_key=%u quota_template=quota_rule=*:backend=%q
/etc/dovecot/toaster.conf:  mail_plugins = $mail_plugins imap_quota
/etc/dovecot/toaster.conf:  quota = maildir:ignore=Trash
/etc/dovecot/toaster.conf:  quota_rule = ?:storage=0

On 10/30/2019 9:48 PM, Angus McIntyre wrote:
Some quick Googling suggests that this is a dovecot error, not a Squirrelmail error.

One person responding to a question about this error suggests checking '/etc/dovecot/dovecot.conf' to make sure that the 'quotadict' variable is not commented out. I don't know if that's relevant to your situation, but I'd suggest digging into the dovecot logs and configuration to see if that suggests any issues.


On 2019-10-29 12:30, Jeff Koch wrote:
Here's a screen shot of the squirrel mail issue -  the error goes
away if I run vuserinfo from within the server - Jeff

On 10/28/2019 7:59 PM, Eric Broch wrote:

I've never seen it.

On 10/28/2019 5:28 PM, Jeff Koch wrote:

Hi Guys:

Periodically customers go into squirrelmail and see this error

ERROR: Could not complete request.
Reason Given: Internal quota calculation error (0.001 + 0.000

I can fix it easily by doing a 'userinfo' on the email account.
Apparently that forces a recalculation of the user's quota usage
and fixes the error. But the question is why does this error show
up in the first place and how to prevent it from happening. Has
any one else seen this?



To unsubscribe, e-mail:
For additional commands, e-mail:


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to