On Tue, 2007-03-20 at 12:46 +0800, Shahmat Dahlan wrote:
Hi Timo,
What I did actually was change option (D) to the following below, or do I have to remove this one altogether?
plugin { quota = maildir }
If the quota is returned always by LDAP userdb, then it doesn't matter at all if this is set or not, because it's always overridden.
Then added the attribute mailquota=10240 as I had defined in my dovecot schema ..
(E) in my /etc/dovecot-ldap.conf user_attrs =
homeDirectory=home,uidNumber=uid,gidNumber=gid,mailquota=quota
If your mailquota has only 10240, it gives Dovecot "quota=10240" setting which doesn't work.
See the LDAP example at the bottom of http://wiki.dovecot.org/Quota
See the examples here. You must have it return "quota=maildir:storage=10240" it Dovecot, one way or another.
mail_debug=yes could be helpful in looking at how Dovecot sees the "quota" value.