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([EMAIL PROTECTED]): May 25 12:10:09 Info: Loading modules from directory: /usr/lib64/dovecot/lda deliver([EMAIL PROTECTED]): May 25 12:10:09 Info: Module loaded: /usr/lib64/dovecot/lda/lib10_quota_plugin.so deliver([EMAIL PROTECTED]): May 25 12:10:09 Info: Module loaded: /usr/lib64/dovecot/lda/lib90_cmusieve_plugin.so
deliver([EMAIL PROTECTED]): May 25 12:10:09 Info: auth input: [EMAIL PROTECTED]
deliver([EMAIL PROTECTED]): May 25 12:10:09 Info: auth input: home=/home/vmail
deliver([EMAIL PROTECTED]): May 25 12:10:09 Info: auth input: quota=dirsize:storage=10240
deliver([EMAIL PROTECTED]): May 25 12:10:09 Info: auth input: uid=2000
deliver([EMAIL PROTECTED]): May 25 12:10:09 Info: auth input: gid=2000
deliver([EMAIL PROTECTED]): 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([EMAIL PROTECTED]): 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([EMAIL PROTECTED]): May 25 12:10:09 Info: dirsize quota limit = 10240kB
deliver([EMAIL PROTECTED]): May 25 12:10:09 Info: cmusieve: Using sieve path: /home/vmail/.sieve.rule deliver([EMAIL PROTECTED]): May 25 12:10:09 Info: cmusieve: Executing script /home/vmail/.sieve.rulec deliver([EMAIL PROTECTED]): May 25 12:10:09 Info: msgid=<[EMAIL PROTECTED]>: saved mail to INBOX
------------

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

------------
deliver([EMAIL PROTECTED]): May 25 12:11:43 Info: Loading modules from directory: /usr/lib64/dovecot/lda deliver([EMAIL PROTECTED]): May 25 12:11:43 Info: Module loaded: /usr/lib64/dovecot/lda/lib10_quota_plugin.so deliver([EMAIL PROTECTED]): May 25 12:11:43 Info: Module loaded: /usr/lib64/dovecot/lda/lib90_cmusieve_plugin.so
deliver([EMAIL PROTECTED]): May 25 12:11:43 Info: auth input: [EMAIL PROTECTED]
deliver([EMAIL PROTECTED]): May 25 12:11:43 Info: auth input: home=/home/vmail
deliver([EMAIL PROTECTED]): May 25 12:11:43 Info: auth input: 
dirsize:mail=a.cn/www
deliver([EMAIL PROTECTED]): May 25 12:11:43 Info: auth input: quota=dirsize:storage=10240
deliver([EMAIL PROTECTED]): May 25 12:11:43 Info: auth input: uid=2000
deliver([EMAIL PROTECTED]): May 25 12:11:43 Info: auth input: gid=2000
deliver([EMAIL PROTECTED]): 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([EMAIL PROTECTED]): 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([EMAIL PROTECTED]): May 25 12:11:43 Info: dirsize quota limit = 10240kB
deliver([EMAIL PROTECTED]): May 25 12:11:43 Info: cmusieve: Using sieve path: /home/vmail/.sieve.rule deliver([EMAIL PROTECTED]): May 25 12:11:43 Info: cmusieve: Executing script /home/vmail/.sieve.rulec deliver([EMAIL PROTECTED]): May 25 12:11:43 Info: msgid=<[EMAIL PROTECTED]>: saved mail to INBOX
------------

--
Best Regards.

Zhang Huangbin

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

Reply via email to