On Sun, 2008-10-05 at 16:42 +0300, arvids wrote:
On Sunday 05 October 2008 15:15:49 Timo Sirainen wrote:
You should have only one quota_rule that's '*:storage=5000000:messages=50000'
I'm not sure what it does with your configuration. I suppose it's also possible that it works as intended..
Anyway, set mail_debug=yes and show what the logs say when logging in. That'll describe what it really sees in the quota settings.
with mail_debug=yes the log says : Oct 5 16:23:01 host dovecot: IMAP(testuser): Loading modules from directory: /usr/local/dovecot/lib/dovecot/imap Oct 5 16:23:01 host dovecot: IMAP(testuser): Module loaded: /usr/local/dovecot/lib/dovecot/imap/lib10_quota_plugin.so Oct 5 16:23:01 host dovecot: IMAP(testuser): Module loaded: /usr/local/dovecot/lib/dovecot/imap/lib11_imap_quota_plugin.so Oct 5 16:23:01 host dovecot: IMAP(testuser): Effective uid=95, gid=95, home=/var/vmail/testuser Oct 5 16:23:01 host dovecot: IMAP(testuser): Quota root: name= backend=dict args=:proxy:/var/run/dovecot/dict-server:quotadict Oct 5 16:23:01 host dovecot: IMAP(testuser): dict quota: user=testuser, uri=proxy:/var/run/dovecot/dict-server:quotadict, enforcing=0 Oct 5 16:23:01 host dovecot: IMAP(testuser): Namespace: type=private, prefix=, sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes Oct 5 16:23:01 host dovecot: IMAP(testuser): maildir: data=/var/vmail/testuser/Maildir Oct 5 16:23:01 host dovecot: IMAP(testuser): maildir++: root=/var/vmail/testuser/Maildir, index=, control=, inbox=/var/vmail/testuser/Maildir Oct 5 16:23:01 host dovecot: imap-login: Login: user=<testuser>, method=PLAIN, rip=x.x.x.x, lip=x.x.x.x
exactly the same result with quota_rule='*:storage=5000000:messages=50000'.
It doesn't show anything about quota rules, so the quota_rule isn't being specified correctly by your userdb. Show your dovecot-sql.conf, enable auth_debug=yes and show what the logs say when logging in.