[Dovecot] quota problem

Andre Hübner andre.huebner at gmx.de
Fri Feb 19 12:32:58 EET 2010


thanks for help.

>On Wed, 2010-02-17 at 15:26 +0100, Andre Hübner wrote:
>> my user_query:
>> user_query = SELECT  home, uid, gid, concat('*:storage=', 
>> quota_bytes,'M')
>> AS quota_rule FROM mail_users WHERE login = '%u'

>Do you really want quota_bytes number of megabytes? If not, change
>the ,'M' part to ,'B'.
this was just a test, value in db is 10, content of mailbox much bigger.

>>     quota = dirsize:user

>I hope you're not using Maildir?
yes, still using mbox ;)

>> I have no idea why its not working.

>Set auth_debug=yes and mail_debug=yes and show logs. Full dovecot -n
>output might also be helpful.

it is working now. had a problem with my virtuell users.
this tutorial helped me to set up my postfix

one problem is left ;)

we use a lot of procmail rules.
best way would be if we could pipe mails from procmail to deliver like 
described here:

but in this case lda ignores my quota and is putting mails in inbox which is 
actual over quota.
is there a way to combine procmail-rules and delivering via dovecot lda?

Thanks for help,

More information about the dovecot mailing list