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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://dovecot.org/pipermail/dovecot/attachments/20060816/a0d3317d/attachment-0001.html>
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:storageTwo 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060816/fe1af0ee/attachment.bin>
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 at iki.fi> To: "Amadou Toure" <atoure at sentoo.sn> Cc: <dovecot at dovecot.org> Sent: Wednesday, August 16, 2006 4:05 PM Subject: Re: [Dovecot] ldap quota limitation problem
hi there i have a such problem: in dovecot.conf ... protocol imap { listen = *:143 ssl_listen = *:993 mail_plugins = quota imap_quota } ... quota = dirsize:storage=10240 ... in dovecot-ldap.conf: ... user_attrs = uid,,,uid,uidNumber,gidNumber,boxQuota=quota=dirsize:storage ... when an user try to answer out from overquoted box he got the message "overquota blahblahblah", BUT the message still goes... it seems that the imap_quota worked (report about the overquota) but plugin quota dont work. in dovecot logs : ... Sep 14 09:10:23 xxxxxxxxxxx dovecot: IMAP(test4): dirsize quota limit = 1000kB ... but in user maildir/maildirsize: 0S,0C 1179466 16 1248 1 what it can be? -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 14 Sep 2006, razor wrote:> when an user try to answer out from overquoted box he got the message > "overquota blahblahblah", BUT the message still goes...Where does the message goes? Is it delivered to the recipient or to a mailbox of the user? First one is usual as it uses SMTP. Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iQEVAwUBRQkg6S9SORjhbDpvAQIA4ggAvvHvr5HqpROp9AZlpu8bqxpoos5Z6LVJ CsJ5eKx5lDvn9KSm6qiAfl/Y9h5ZMyO3dRtgtk5sxt/CDrFnURE32E83gwSguGXd 03PKz3MZYcB8y+zBcx2S39eQYGd+YwQqiJMVpJ12bKNl4kK/w6BiZcNakE6GGOIr Rru6AEFgGCqxoN/b/bl/6v3yzVW9F1ieJumzjikIrP8kzlYTjDGpDVWxWyGKwRGM KoS4DFlCLWJjWfpKBpG8hCLbuNZCajaz58sd1TSvJ3gjiC2XeHeNhsa7oK34HMSI cPnwfM4fDFbht8sAOfIbaJw8Vks1+fPTYTba0BLTatH6sfxdRa6iww==RMWt -----END PGP SIGNATURE-----
thx 4 your answer i thought that my post didnt in list, so i regestered and repost in: http://dovecot.org/pipermail/dovecot/2006-September/016132.html> Where does the message goes? Is it delivered to the recipient or to a > mailbox of the user? > First one is usual as it uses SMTP.> Bye, > - --Steffen Kaiseryes it is delivered to recipient maildir = Maildir/cur. and no error to my box ... -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/