Has anybody noticed this behavior when using maildir quota with Version 1.2.4: # 1.2.4: /etc/dovecot/dovecot.conf # OS: Linux 2.6.26-2-686-bigmem i686 Debian 5.0.3 xfs
My default configurations quota configurations: plugin: quota: maildir:User quota quota_rule: *:storage=2G
Customized Use Configurations at the Mysql level:
user_query = SELECT 5000 AS uid,5000 AS gid,'/vmail/%d/%n' as home,
concat('*:storage= ', virtual_users.quota_kb) AS
quota_rule
from virtual_users LEFT JOIN virtual_domains ON
virtual_users.domain_id=virtual_domains.id
where virtual_users.user='%n' and virtual_domains.name='%d'
When I change quota at the SQL level (per user), that quota becomes active once Dovecot is restarted. Until then it keeps the previous quota assigned. I do not remember seeing this behavior in previous versions --quota was active after sql changes.
M.A.