Re: [Dovecot] imap-quota not working

2008-10-16 Thread Timo Sirainen
On Sun, 2008-10-05 at 17:55 +0300, arvids wrote: > On Sunday 05 October 2008 17:15:45 Timo Sirainen wrote: > > That's the point of using prefetch userdb. Either don't use it, or copy > > all the quota_* fields to password_query as well (with userdb_ prefix). > > Thank you very much for pointing it

Re: [Dovecot] imap-quota not working

2008-10-05 Thread Timo Sirainen
On Sun, 2008-10-05 at 17:55 +0300, arvids wrote: > On Sunday 05 October 2008 17:15:45 Timo Sirainen wrote: > > That's the point of using prefetch userdb. Either don't use it, or copy > > all the quota_* fields to password_query as well (with userdb_ prefix). > > Thank you very much for pointing it

Re: [Dovecot] imap-quota not working

2008-10-05 Thread arvids
On Sunday 05 October 2008 17:15:45 Timo Sirainen wrote: > That's the point of using prefetch userdb. Either don't use it, or copy > all the quota_* fields to password_query as well (with userdb_ prefix). Thank you very much for pointing it out, I forgot about this prefetch thing. Now imap quota is

Re: [Dovecot] imap-quota not working

2008-10-05 Thread Timo Sirainen
On Sun, 2008-10-05 at 17:02 +0300, arvids wrote: > For some reason the user_query is not executed, only password_query. That's the point of using prefetch userdb. Either don't use it, or copy all the quota_* fields to password_query as well (with userdb_ prefix). signature.asc Description: Thi

Re: [Dovecot] imap-quota not working

2008-10-05 Thread arvids
On Sunday 05 October 2008 16:47:26 Timo Sirainen wrote: > 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. the log says: Oct 5 16:55:44 ho

Re: [Dovecot] imap-quota not working

2008-10-05 Thread Timo Sirainen
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=500:messages=5' > > > > I'm not sure what it does with your configuration. I suppose it's also > > possible that it works

Re: [Dovecot] imap-quota not working

2008-10-05 Thread arvids
On Sunday 05 October 2008 15:15:49 Timo Sirainen wrote: > You should have only one quota_rule that's > '*:storage=500:messages=5' > > 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 th

Re: [Dovecot] imap-quota not working

2008-10-05 Thread Timo Sirainen
On Fri, 2008-09-26 at 11:43 +0300, arvids wrote: > Hello, > > imap-quota plugin always returns empty quota: > a1 GETQUOTA "" > * QUOTA "" () > a1 OK Getquota completed. > a2 GETQUOTAROOT INBOX > * QUOTAROOT "INBOX" > a2 OK Getquotaroot completed. > > quota_rule

[Dovecot] imap-quota not working

2008-09-26 Thread arvids
Hello, imap-quota plugin always returns empty quota: a1 GETQUOTA "" * QUOTA "" () a1 OK Getquota completed. a2 GETQUOTAROOT INBOX * QUOTAROOT "INBOX" a2 OK Getquotaroot completed. quota_rule and quota_rule2 for this user are defined in db as followi