[Dovecot] Quota calculation problem with 1.2 beta 4

Wolfgang.Friebel at desy.de Wolfgang.Friebel at desy.de
Wed Apr 1 14:42:33 EEST 2009


On Wed, 1 Apr 2009, Robert Schetterer wrote:

> Ralf Hildebrandt schrieb:
>> Two of my users are reporting that their quota is not being
>> recalculated ALTHOUGH they deleted lots and lots of mails.
>>
>> I'm using today's hg checkout of 1.2 beta 4
>>
>>
> Hi Ralf, did they report so , or is it real,
> sometimes users are failing with expunge options of their client
>

Along a similar line: with 1.2 beta 4 I had today a user who according to 
deliver was over quota:

Apr  1 08:00:27 apollo dovecot: deliver(user1): sieve: 
msgid=<20090401060005.0821B1E82B0 at hostxxx>: failed to store into mailbox 
'INBOX': Quota exceeded (mailbox for user is full)

but the IMAP command reported correctly what I also found in the 
maildirsize file (in userdb the configured limit was 1000M, his actual 
INBOX size was below 600M):

1048576000S
557816894 10852

The relevant sections from dovecot.conf are

protocol imap {
   mail_plugins = quota imap_quota zlib acl imap_acl
}

protocol lda {
   mail_plugins = sieve quota acl
}

plugin {
   quota = maildir:Quota
   quota_rule = *:storage=500MB
   quota_rule2 = Trash:ignore
}

With that config the quota for ALL users seems to be at 500M not taking 
into account userdb overrides. Or is that the effect of a wrong 
configuration, e.g.
   quota = maildir:Quota    should become     quota = maildir:User Quota ?

-- 
Wolfgang Friebel                   Deutsches Elektronen-Synchrotron DESY
Phone/Fax:  +49 33762 77372/216    Platanenallee 6
Mail: Wolfgang.Friebel AT desy.de  D-15738 Zeuthen  Germany


More information about the dovecot mailing list