[Dovecot] dict, quota, mysql and postfixadmin

Johan Hendriks j.hendriks at schavemaker.com
Tue Feb 3 17:48:01 EET 2009


Timo Sirainen schreef:
> On Feb 3, 2009, at 5:09 AM, Johan Hendriks wrote:
>
>> plugin {
>> quota = dict:::proxy::quotadict
>
> Here you set quota backend.
>
>> quota_rule = *:storage=50M:messages=10000
>
> Here you set quota limits.
>
>> CONCAT('dict:storage=',floor(quota/1000),' proxy::quotadict') as quota
>
> Here you're trying to use v1.0 way of setting quota, which won't work 
> with v1.1. Return something like:
>
> CONCAT('*:messages=10000:bytes=', quota) as quota_rule
>
>
Thanks got it working now.
It was the last line in dovecot-sql.conf file that did it 
(CONCAT('*:messages=10000:bytes=', quota) as quota_rule)
regards,
Johan


More information about the dovecot mailing list