2 Mar
2008
2 Mar
'08
6:16 a.m.
On Sat, 2008-03-01 at 10:26 +0100, Oliver wrote:
userdb static { args = uid=5000 gid=5000 sieve=/home/vmail/%d/%n/.dovecot.sieve } userdb sql { args = /etc/dovecot/dovecot-sql.conf }
You use userdb static before userdb sql. This means that userdb sql is never actually used.
plugin { #quota = maildir # 10 MB + 1000 messages quota limit quota = maildir:storage=265000:messages=50000:ignore=Trash }
So all users use the default, 256MB as specified here.
user_query = SELECT email, 5000 AS uid, 5000 AS gid, CONCAT('maildir:storage=', quota) AS quota, mail_plugins FROM users WHERE email = '%u' AND active = '1'
This is never called.
So the fix would be to remove userdb static from dovecot.conf.