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@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