25 May
2008
25 May
'08
3:13 p.m.
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@a.cn): May 25 12:10:09 Info: Loading modules from directory: /usr/lib64/dovecot/lda deliver(www@a.cn): May 25 12:10:09 Info: Module loaded: /usr/lib64/dovecot/lda/lib10_quota_plugin.so deliver(www@a.cn): May 25 12:10:09 Info: Module loaded: /usr/lib64/dovecot/lda/lib90_cmusieve_plugin.so deliver(www@a.cn): May 25 12:10:09 Info: auth input: www@a.cn deliver(www@a.cn): May 25 12:10:09 Info: auth input: home=/home/vmail deliver(www@a.cn): May 25 12:10:09 Info: auth input: quota=dirsize:storage=10240 deliver(www@a.cn): May 25 12:10:09 Info: auth input: uid=2000 deliver(www@a.cn): May 25 12:10:09 Info: auth input: gid=2000 deliver(www@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@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@a.cn): May 25 12:10:09 Info: dirsize quota limit = 10240kB deliver(www@a.cn): May 25 12:10:09 Info: cmusieve: Using sieve path: /home/vmail/.sieve.rule deliver(www@a.cn): May 25 12:10:09 Info: cmusieve: Executing script /home/vmail/.sieve.rulec deliver(www@a.cn): May 25 12:10:09 Info: msgid=20080525161008.9CA0D782F1@rh52.bibby.org: saved mail to INBOX
And below is sieve log with 'mailMessageStore=dirsize:mail':
deliver(www@a.cn): May 25 12:11:43 Info: Loading modules from directory: /usr/lib64/dovecot/lda deliver(www@a.cn): May 25 12:11:43 Info: Module loaded: /usr/lib64/dovecot/lda/lib10_quota_plugin.so deliver(www@a.cn): May 25 12:11:43 Info: Module loaded: /usr/lib64/dovecot/lda/lib90_cmusieve_plugin.so deliver(www@a.cn): May 25 12:11:43 Info: auth input: www@a.cn deliver(www@a.cn): May 25 12:11:43 Info: auth input: home=/home/vmail deliver(www@a.cn): May 25 12:11:43 Info: auth input: dirsize:mail=a.cn/www deliver(www@a.cn): May 25 12:11:43 Info: auth input: quota=dirsize:storage=10240 deliver(www@a.cn): May 25 12:11:43 Info: auth input: uid=2000 deliver(www@a.cn): May 25 12:11:43 Info: auth input: gid=2000 deliver(www@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@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@a.cn): May 25 12:11:43 Info: dirsize quota limit = 10240kB deliver(www@a.cn): May 25 12:11:43 Info: cmusieve: Using sieve path: /home/vmail/.sieve.rule deliver(www@a.cn): May 25 12:11:43 Info: cmusieve: Executing script /home/vmail/.sieve.rulec deliver(www@a.cn): May 25 12:11:43 Info: msgid=20080525161142.F2FE2782F1@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/