[Dovecot] Error while set mailQuota=0 with mbox and LDAP backend

Zhang Huangbin zhbmaillistonly at gmail.com
Sun May 25 15:13:54 EEST 2008


Hi, Timo.

Timo Sirainen wrote:
 >
 >> 
homeDirectory=home,mailMessageStore=dirsize:mail,mailQuota=quota=dirsize:storage
 >
 > Also what is "mailMessageStore=dirsize:mail"? I don't think it does
 > anything.

After some test, i think 'mailMessageStore=dirsize:mail' is an optional
parameter for LDAP backend.

mail_location in dovecot.conf:

--------
mail_location = 
mbox:/%Lh/%Ld/%Ln:INBOX=/%Lh/%Ld/%Ln/inbox:INDEX=/%Lh/%Ld/%Ln/indexes
--------

Below is sieve log file without 'mailMessageStore=dirsize:mail':

------------
deliver(www at a.cn): May 25 12:10:09 Info: Loading modules from directory: 
/usr/lib64/dovecot/lda
deliver(www at a.cn): May 25 12:10:09 Info: Module loaded: 
/usr/lib64/dovecot/lda/lib10_quota_plugin.so
deliver(www at a.cn): May 25 12:10:09 Info: Module loaded: 
/usr/lib64/dovecot/lda/lib90_cmusieve_plugin.so
deliver(www at a.cn): May 25 12:10:09 Info: auth input: www at a.cn
deliver(www at a.cn): May 25 12:10:09 Info: auth input: home=/home/vmail
deliver(www at a.cn): May 25 12:10:09 Info: auth input: 
quota=dirsize:storage=10240
deliver(www at a.cn): May 25 12:10:09 Info: auth input: uid=2000
deliver(www at a.cn): May 25 12:10:09 Info: auth input: gid=2000
deliver(www at a.cn): May 25 12:10:09 Info: mbox: 
data=//home/vmail/a.cn/www:INBOX=//home/vmail/a.cn/www/inbox:INDEX=//home/vmail/a.cn/www/indexes
deliver(www at a.cn): May 25 12:10:09 Info: mbox: 
root=//home/vmail/a.cn/www, index=//home/vmail/a.cn/www/indexes, 
inbox=//home/vmail/a.cn/www/inbox
deliver(www at a.cn): May 25 12:10:09 Info: dirsize quota limit = 10240kB
deliver(www at a.cn): May 25 12:10:09 Info: cmusieve: Using sieve path: 
/home/vmail/.sieve.rule
deliver(www at a.cn): May 25 12:10:09 Info: cmusieve: Executing script 
/home/vmail/.sieve.rulec
deliver(www at a.cn): May 25 12:10:09 Info: 
msgid=<20080525161008.9CA0D782F1 at rh52.bibby.org>: saved mail to INBOX
------------

And below is sieve log with 'mailMessageStore=dirsize:mail':

------------
deliver(www at a.cn): May 25 12:11:43 Info: Loading modules from directory: 
/usr/lib64/dovecot/lda
deliver(www at a.cn): May 25 12:11:43 Info: Module loaded: 
/usr/lib64/dovecot/lda/lib10_quota_plugin.so
deliver(www at a.cn): May 25 12:11:43 Info: Module loaded: 
/usr/lib64/dovecot/lda/lib90_cmusieve_plugin.so
deliver(www at a.cn): May 25 12:11:43 Info: auth input: www at a.cn
deliver(www at a.cn): May 25 12:11:43 Info: auth input: home=/home/vmail
deliver(www at a.cn): May 25 12:11:43 Info: auth input: dirsize:mail=a.cn/www
deliver(www at a.cn): May 25 12:11:43 Info: auth input: 
quota=dirsize:storage=10240
deliver(www at a.cn): May 25 12:11:43 Info: auth input: uid=2000
deliver(www at a.cn): May 25 12:11:43 Info: auth input: gid=2000
deliver(www at a.cn): May 25 12:11:43 Info: mbox: 
data=//home/vmail/a.cn/www:INBOX=//home/vmail/a.cn/www/inbox:INDEX=//home/vmail/a.cn/www/indexes
deliver(www at a.cn): May 25 12:11:43 Info: mbox: 
root=//home/vmail/a.cn/www, index=//home/vmail/a.cn/www/indexes, 
inbox=//home/vmail/a.cn/www/inbox
deliver(www at a.cn): May 25 12:11:43 Info: dirsize quota limit = 10240kB
deliver(www at a.cn): May 25 12:11:43 Info: cmusieve: Using sieve path: 
/home/vmail/.sieve.rule
deliver(www at a.cn): May 25 12:11:43 Info: cmusieve: Executing script 
/home/vmail/.sieve.rulec
deliver(www at a.cn): May 25 12:11:43 Info: 
msgid=<20080525161142.F2FE2782F1 at rh52.bibby.org>: saved mail to INBOX
------------

-- 
Best Regards.

Zhang Huangbin

- Mail Server Solution for Red Hat(R) Enterprise Linux & CentOS 5.x:
  http://rhms.googlecode.com/



More information about the dovecot mailing list