[Dovecot] ldap quota limitation problem
hello, We have configured the quota enforcement folowing the link (http://wiki.dovecot.org/Quota) but we note that the global quota limitation configuration in dovecot.conf works well but not the ldap users configuration limit. For example in the casee below, we have tried to limit quota usage for some users to 1Gb but only the global quota limitation appear in the user quota.
please find below config of the dovecot.conf, dovecot-ldap.conf and the ldap attributes ####################### dovecot.conf PROTOCOL IMAP mail_plugins = quota imap_quota
PROTOCOL POP3 mail_plugins = quota
LDA mail_plugins = cmusieve # quota
PLUGIN quota = maildir:storage=256000 ######################## dovecot-ldap.conf user_attrs = uid,homeDirectory,,uid,uidNumber,gidNumber,quotaStorage=mailQuotaSize=dirsize:storage #############################
Amadou TOURE Sonatel Multimedia, 136 Sacre Coeur, Pyrotechnique, BP 21100 Dakar Tel +221-8699810. Fax +221-8641094 http://www.sentoo.sn DAKAR - SENEGAL
On Wed, 2006-08-16 at 15:09 +0000, Amadou Toure wrote:
hello, We have configured the quota enforcement folowing the link (http://wiki.dovecot.org/Quota) but we note that the global quota limitation configuration in dovecot.conf works well but not the ldap users configuration limit. For example in the casee below, we have tried to limit quota usage for some users to 1Gb but only the global quota limitation appear in the user quota. .. user_attrs = uid,homeDirectory,,uid,uidNumber,gidNumber,quotaStorage=mailQuotaSize=dirsize:storage
Two things. First quotaStorage=mailQuotaSize is wrong. Which one of them is the LDAP field? Either use quotaStorage=quota or mailQuotaSize=quota.
Second, you have mixed old and new format in here. Change it completely to the new format:
user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid,quotaStorage=quota=dirsize:storage
Hello, Thank you it works now after ldap user_attrs modification in ldap.conf. Waiting for any idea about the sieve implementation problem. regards Amadou TOURE Sonatel Multimedia, 136 Sacre Coeur, Pyrotechnique, BP 21100 Dakar Tel +221-8699810. Fax +221-8641094 http://www.sentoo.sn DAKAR - SENEGAL ----- Original Message ----- From: "Timo Sirainen" tss@iki.fi To: "Amadou Toure" atoure@sentoo.sn Cc: dovecot@dovecot.org Sent: Wednesday, August 16, 2006 4:05 PM Subject: Re: [Dovecot] ldap quota limitation problem
participants (2)
-
Amadou Toure
-
Timo Sirainen