[Dovecot] Quota override problem
Timo Sirainen
tss at iki.fi
Sun Mar 2 06:16:58 EET 2008
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080302/b4420178/attachment.bin
More information about the dovecot
mailing list