[Dovecot] [RESOLVED] problem mysql and dovecot 1.2

mickael debian at robertain.com
Fri Jul 23 01:06:06 EEST 2010


Timo Sirainen wrote:
> On 22.7.2010, at 22.20, mickael wrote:
>
>   
>> I add this line in dovecot-sql.conf
>> user_query = SELECT concat('*:storage=', quota_kb, 'K') AS quota_rule FROM virtual_users WHERE email = '%u'
>>     
> ..
>   
>> I spent the quota value has 20K in mysql voluntarily on behalf 'bla at domain.com' . But unfortunately I always reload after a 100M quota.
>> Are you a idea ?
>>     
>
> That's because you're using userdb static instead of userdb sql:
>   
Was exactly that.
>   
>>  userdb:
>>    driver: static
>>    args: uid=5000 gid=5000 home=/var/vmail/%d/%n allow_all_users=yes
>>     
>
>   
Thank it's work now. 




More information about the dovecot mailing list