-----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=%$
10-mail.conf
mail_location = maildir:~/Maildir:LAYOUT=fs mail_plugins = $mail_plugins quota
/10-master.conf
service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0600 user = postfix }
20-imapd.conf
protocol imap { mail_plugins = $mail_plugins imap_quota }
20-lmtp.conf
protocol lmtp { mail_plugins = $mail_plugins quota }
This looks like quota is added twice.
90-quota.conf
plugin { quota_rule = *:storage=150M quota_rule2 = Trash:storage=+100M quota_grace = 10%% }
plugin { quota = maildir:User quota }
Command doveadm quota recalc return nothing (no error)
you need -u user or -A
also try:
doveadm quota get -u siroco
My log
Mar 2 11:41:58 domaine dovecot: imap-login: Login: user=<siroco>, method=PLAIN, rip=::1, lip=::1, mpid=3695, secured, session=<X+Yi3ksQdAAAAAAAAAAAAAAAAAAAAAAB> Mar 2 11:41:58 domaine dovecot: imap: Debug: Loading modules from directory: /usr/lib/dovecot/modules Mar 2 11:41:58 domaine dovecot: imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so Mar 2 11:41:58 domaine dovecot: imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so Mar 2 11:41:58 domaine dovecot: imap: Debug: Added userdb setting: plugin/quota_rule=*:bytes=0 Mar 2 11:41:58 domaine dovecot: imap(siroco): Debug: Effective uid=5000, gid=5000, home=/var/spool/dovecot/mail/s/siroco Mar 2 11:41:58 domaine dovecot: imap(siroco): Debug: Quota root: name=User quota backend=maildir args= Mar 2 11:41:58 domaine dovecot: imap(siroco): Debug: Quota rule: root=User quota mailbox=* bytes=0 messages=0 Mar 2 11:41:58 domaine dovecot: imap(siroco): Debug: Quota rule: root=User quota mailbox=Trash bytes=+104857600 messages=0 Mar 2 11:41:58 domaine dovecot: imap(siroco): Debug: Quota grace: root=User quota bytes=0 (10%) Mar 2 11:41:58 domaine dovecot: imap(siroco): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir:LAYOUT=fs Mar 2 11:41:58 domaine dovecot: imap(siroco): Debug: fs: root=/var/spool/dovecot/mail/s/siroco/Maildir, index=, indexpvt=, control=, inbox=/var/spool/dovecot/mail/s/siroco/Maildir,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVPRGrnz1H7kL/d9rAQJC8wf+N74Pc8y4LsgrLtIEWvb7jkwbhbYIpijN lmZN2ZGZroDbfDB6ieXPP6lSz7c6dUfDmVDDlq1R280FzXRfyEU08jdxs4G3/NuM IA9kw2IPpyZdk4sKDDA2rNYxN7SJa+v8V3ab4TFP7LFEsLDZJlZVwo6+ugcjWhSe DErBwSKTsqKUnBwStQZyHow5hV8PhSDI3Dj4Mp2L3WncpUPsEIFeB/6PKDphnnN7 nFzADtS67rLDR1KMGvVv/7RKysbs9a7IhdN3YDywWfgoDlSEFNIhM4DFNBiPvm/P jhOGq25KpPnm2mI5MumNnZW4UlJN1KpEc6iko2XA4ABaWhQgE1FOLg== =91Zl -----END PGP SIGNATURE-----