Quota and ldap

Jean-François Sénéchal jean-francois.senechal at ac.marche.be
Mon Mar 2 15:25:32 UTC 2015


I have found

I have replace gosaMailQuota=quota_rule=*:bytes=%$
by gosaMailQuota=quota_rule=*:storage=%$M



Le 02/03/15 14:56, Juan Bernhard a écrit :
> El 02/03/2015 a las 10:39 a.m., Jean-François Sénéchal escibió:
>> Content maildirsize :
>>
>> cat Maildir/maildirsize
>> 0S
> The quota is set to unlimited. (0S)
> Try to remove the file and check if the new values are taken when a new
> mail arrives (or do a doveadm quota recalc)
>
> The wiki will explain more about this file:
> http://wiki2.dovecot.org/Quota/Maildir
>
> Saludos, Juan.
>
>> 181243879 2032
>> 19202 1
>> 14239 1
>> 31954 1
>>
>>
>>
>> Le 02/03/15 14:21, Juan Bernhard a écrit :
>>> El 02/03/2015 a las 10:01 a.m., Jean-François Sénéchal escibió:
>>>> now dovecot -n give
>>>>
>>>> protocol lmtp {
>>>>     mail_plugins = " quota"
>>>>     postmaster_address = jf at marche.be
>>>> }
>>>>
>>>> But nothing change
>>>>
>>>> in gosaMailQuota I set size in ko bytes
>>>>
>>>> gosaMailQuota : 100000
>>>>
>>> Maildir controls qutoa using a file, in your case will be
>>> ~/Maildir/maildirzise. The first line on the file tell you the mailbox
>>> limits of sapace (in bytes) and files. Check of this is enforced or not.
>>> Maybe dovecot only reads the ldap quota value when this file is not
>>> present, because it may be modified by another program (an mta for
>>> example)
>>>
>>>
>>>> Le 02/03/15 13:37, Steffen Kaiser a écrit :
>>>> On Mon, 2 Mar 2015, Jean-François Sénéchal wrote:
>>>>
>>>>>>> protocol lmtp {
>>>>>>>    mail_plugins = " quota quota"
>>>>                        ^^^^^^^^
>>>> it's added twice
>>>>
>>>>>>> Le 02/03/15 12:17, Steffen Kaiser a écrit :
>>>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>>>> Hash: SHA1
>>>>>>>>
>>>>>>>> On Mon, 2 Mar 2015, Jean-François Sénéchal wrote:
>>>>>>>>
>>>>>>>> please post output of dovecont -n
>>>>>>>>
>>>>>>>>> user_attrs =
>>>>>>>>> homeDirectory=home,uidNumber=uid,gidNumber=gid,gosaMailQuota=quota_rule=*:bytes=%$
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Mar  2 11:41:58 domaine dovecot: imap: Debug: Added userdb setting:
>>>>>>>>> plugin/quota_rule=*:bytes=0
>>>> what's the content of siroco's LDAP entry? Esp. gosaMailQuota.
>>>>
>>>> -- Steffen Kaiser


-- 
logomarche 	Jean-François Sénéchal
Centre de Support Télématique
Webmaster
Rue des Carmes, 22
6900 Marche-en-Famenne
Tél: 084/32 70 55 - Fax: 084/32 70 72
jean-francois.senechal at ac.marche.be 
<mailto:jean-francois.senechal at ac.marche.be>

Retrouvez-nous sur www.marche.be <http://www.marche.be> et sur 
logofacebook 
<https://www.facebook.com/pages/Ville-de-Marche-en-Famenne/152999594777489>
Disclaimer <https://www.marche.be/disclaimer/> | SVP, pensez à notre 
environnement avant d'imprimer ce mail



More information about the dovecot mailing list