[Dovecot] Dovecot 1.1 Quota Plugin Configuration?
David Reid
david at jetnet.co.uk
Thu Aug 7 15:39:01 EEST 2008
With 1.0 I had the quota plugin set to allow some accounts to have no
quota by setting their size (in bytes) to 0 (via mysql). Following the
upgrade to 1.1 this no longer seems to work and has resulted in a lot of
annoyed people having messages bumped :-(
The config I have is as follows...
quota = maildir
quota_rule = *:storage=15M
quota_rule2 = Trash:ignore
quota_rule3 = INBOX.Trash:ignore
quota_rule4 = INBOX.SpamTrain:ignore
quota_rule5 = SpamTrain:ignore
In the sql.conf I get the quota for each mailbox using this line
user_query = SELECT '/var/vmail/%d/%n' as home,
'maildir:/var/vmail/%d/%n' as mail, xxx AS uid, xxx AS gid,
concat('maildir:storage=', mb_quota) AS quota FROM
mailboxes WHERE mb_mbname = '%u' AND mb_active = '1'
With this setup when I have a mb_quota set to 0 it simply bounces all
messages for the mailboxes that should have no quota.
Any ideas how I need to fix this?
david
More information about the dovecot
mailing list