[Dovecot] v.1.2.4 deliver maildir quota does not work

Mario Antonio support at webjogger.net
Sat Sep 12 16:53:24 EEST 2009


It seems to be working for me:

Using  V 1.2.4
-------------------------------
plugin:
  quota: maildir:User quota
  quota_rule: *:storage=2G
-------------------------------

Mysql conf:
------------------------------------
user_query = SELECT 5000 AS uid,5000 AS gid,'/vmail/%d/%n' as home, \
             concat('*:storage= ', virtual_users.quota_kb) AS 
quota_rule         \
             from virtual_users LEFT JOIN virtual_domains ON 
virtual_users.domain_id=virtual_domains.id \
             where virtual_users.user='%n'  and virtual_domains.name='%d'
------------------------------------------

Postfix Conf:
-----------------------------------
dovecot   unix  -       n       n       -       -       pipe
    flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -e  -d 
${recipient}
------------------------------------

When sending a message that goes beyond quota:
PostFix says:
status=bounced (permission denied. Command output: Quota exceeded 
(mailbox for user is full) )


Regards,

M.A.





myleetlist at gmx.de wrote:
> Hi,
>
>   
>> I'm using deliver for storing new mails (nfs).
>> Since v.1.2 deliver does not reject mails if over quota (maildir quota).
>>
>> test with v. 1.1.18:
>> # HOME=/tmp/maildir/ /path/dovecot-1.1.18/libexec/dovecot/deliver -e -c
>> /path/dovecot-1.1.18/etc/dovecot.conf
>> # Quota exceeded (mailbox for user is full)
>>
>> test with v. 1.2.4:
>> # HOME=/tmp/maildir/ /path/dovecot-1.2.4/libexec/dovecot/deliver -e -c
>> /path/dovecot-1.2.4/etc/dovecot.conf
>> -> mail is saved to INBOX
>>     
> [..]
>
> is no one using maildir quota here? Who can say me if this is a bug or not?
> As a workaround, is it posible to use deliver 1.1.18 and imap/pop3 1.2.4 without problems? (i think i have to rewrite some sieve 1.2 rules)
>   



More information about the dovecot mailing list