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

2008-05-25 Thread Anders
Timo Sirainen wrote: On May 25, 2008, at 5:40 AM, Zhang Huangbin wrote: Timo Sirainen wrote: 0 means the user has 0 bytes quota, not unlimited. Maybe this should be changed.. You could always work around it by just returning a very large value. Hope to see this change. :)

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

2008-05-25 Thread Zhang Huangbin
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.

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

2008-05-24 Thread Timo Sirainen
On Sat, 2008-05-24 at 04:39 +0800, Zhang Huangbin wrote: The problem is if i set 'mailQuota=0' in LDAP, postfix can't send mail to recipient user. But it works fine with 'mailQuota != 0', such as '10240'(10M). 0 means the user has 0 bytes quota, not unlimited. Maybe this should be changed..

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

2008-05-24 Thread Zhang Huangbin
Timo Sirainen wrote: On Sat, 2008-05-24 at 04:39 +0800, Zhang Huangbin wrote: The problem is if i set 'mailQuota=0' in LDAP, postfix can't send mail to recipient user. But it works fine with 'mailQuota != 0', such as '10240'(10M). 0 means the user has 0 bytes quota, not unlimited.

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

2008-05-24 Thread Timo Sirainen
On May 25, 2008, at 5:40 AM, Zhang Huangbin wrote: Timo Sirainen wrote: On Sat, 2008-05-24 at 04:39 +0800, Zhang Huangbin wrote: The problem is if i set 'mailQuota=0' in LDAP, postfix can't send mail to recipient user. But it works fine with 'mailQuota != 0', such as '10240'(10M). 0

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

2008-05-23 Thread Zhang Huangbin
Hi, all. I have OpenLDAP(+qmail.schema), Dovecot, Postfix installed on RHEL 5.1 (x86_64), and they works fine with mbox format. The problem is if i set 'mailQuota=0' in LDAP, postfix can't send mail to recipient user. But it works fine with 'mailQuota != 0', such as '10240'(10M). What's wrong