Content maildirsize : cat Maildir/maildirsize 0S 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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 2 Mar 2015, Jean-Fran?ois S?n?chal wrote:> Content maildirsize : > > cat Maildir/maildirsize > 0S^^^^^^^^^> 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 >- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEVAwUBVPRpjnz1H7kL/d9rAQKKTQf/VbOUb2kLKWJgvaFAgPY7ze51VhE1Vxg0 WbgZJ366aTDXhGozPSpEtfJlLF0gFYl6pK5+TQWv+AOdfGbcuhFQVZXIcclm5u8R O2nsf9/Q9JQT3tDDHQ78XCSAsBb+gVMYBxL66Gqi0qddbwAcTfMNUaXRGSQn/0z2 ZLIPhRktnmpIqpqLDXU7MtGwXNa1lVxRtpE2EXqwe40CqyFWsmKw0bWCZHkG1zmr s+w85LBHFVJlW4sCVN5KOjqyTiC8c78Lfuv05eQW/qN9wM83RAz0S/DLv8AnYgAa YL8MhSb9s8tEbeyPOpMSi+hsxQpldiwqEx0ftoO09aNrccuVWpd+3Q==sVwD -----END PGP SIGNATURE-----
El 02/03/2015 a las 10:39 a.m., Jean-Fran?ois S?n?chal escibi?:> Content maildirsize : > > cat Maildir/maildirsize > 0SThe 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
I deleted doveadm quota recalc -u siroco Send a new mail But nothing change it's always 0S Is there is error here : user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid,gosaMailQuota=quota_rule=*:bytes=%$ ? Thnaks Mar 2 15:02:12 domaine dovecot: auth: Debug: userdb out: USER#0111#011siroco#011home=/var/spool/dovecot/mail/s/siroco#011uid=5000#011gid=5000#011quota_rule=*:bytes=0 Mar 2 15:02:19 domaine dovecot: auth: Debug: master in: USER#0111#011siroco#011service=doveadm Mar 2 15:02:19 domaine dovecot: auth: Debug: ldap(siroco): user search: base=ou=Users,ou=Citoyens,dc=marche,dc=be scope=subtree filter=(&(objectClass=posixAccount)(uid=siroco)) fields=homeDirectory,uidNumber,gidNumber,gosaMailQuota Mar 2 15:02:19 domaine dovecot: auth: Debug: ldap(siroco): result: gosaMailQuota=0 homeDirectory=/var/spool/dovecot/mail/s/siroco gidNumber=5000 uidNumber=5000; homeDirectory,uidNumber,gidNumber,gosaMailQuota unused Mar 2 15:02:19 domaine dovecot: auth: Debug: ldap(siroco): result: gosaMailQuota=0 homeDirectory=/var/spool/dovecot/mail/s/siroco gidNumber=5000 uidNumber=5000 Mar 2 15:02:19 domaine dovecot: auth: Debug: userdb out: USER#0111#011siroco#011home=/var/spool/dovecot/mail/s/siroco#011uid=5000#011gid=5000#011quota_rule=*:bytes=0 Mar 2 15:05:01 domaine /USR/SBIN/CRON[6447]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1) Mar 2 15:05:14 domaine postfix/anvil[6417]: statistics: max connection rate 1/60s for (smtp:172.17.1.244) at Mar 2 15:01:54 Mar 2 15:05:14 domaine postfix/anvil[6417]: statistics: max connection count 1 for (smtp:172.17.1.244) at Mar 2 15:01:54 Mar 2 15:05:14 domaine postfix/anvil[6417]: statistics: max cache size 1 at Mar 2 15:01:54 Mar 2 15:05:26 domaine dovecot: auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth Mar 2 15:05:26 domaine dovecot: auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth Mar 2 15:05:26 domaine dovecot: auth: Debug: Module loaded: /usr/lib/dovecot/modules/auth/libauthdb_ldap.so Mar 2 15:05:26 domaine dovecot: auth: Debug: Read auth token secret from /var/run/dovecot/auth-token-secret.dat Mar 2 15:05:26 domaine dovecot: auth: Debug: master in: USER#0111#011siroco#011service=doveadm Mar 2 15:05:26 domaine dovecot: auth: Debug: ldap(siroco): user search: base=ou=Users,ou=Citoyens,dc=marche,dc=be scope=subtree filter=(&(objectClass=posixAccount)(uid=siroco)) fields=homeDirectory,uidNumber,gidNumber,gosaMailQuota Mar 2 15:05:26 citoyen2015 dovecot: auth: Debug: ldap(siroco): result: gosaMailQuota=0 homeDirectory=/var/spool/dovecot/mail/s/siroco gidNumber=5000 uidNumber=5000; homeDirectory,uidNumber,gidNumber,gosaMailQuota unused Mar 2 15:05:26 domaine dovecot: auth: Debug: ldap(siroco): result: gosaMailQuota=0 homeDirectory=/var/spool/dovecot/mail/s/siroco gidNumber=5000 uidNumber=5000 Mar 2 15:05:26 domaine dovecot: auth: Debug: userdb out: USER#0111#011siroco#011home=/var/spool/dovecot/mail/s/siroco#011uid=5000#011gid=5000#011quota_rule=*:bytes=0 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
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