[Dovecot] problem mysql and dovecot 1.2

Timo Sirainen tss at iki.fi
Fri Jul 23 00:24:05 EEST 2010


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:

>  userdb:
>    driver: static
>    args: uid=5000 gid=5000 home=/var/vmail/%d/%n allow_all_users=yes



More information about the dovecot mailing list