[Dovecot] Quotas not recalculating

Tobias Hachmer tobias at hachmer.de
Tue Sep 6 23:17:49 EEST 2011


On Tue, 6 Sep 2011 23:08:37 +0300, Timo Sirainen wrote:
> On 6.9.2011, at 23.01, Tobias Hachmer wrote:
>
>> On Mon, 5 Sep 2011 08:39:39 +0300, Timo Sirainen wrote:
>>> On 5.9.2011, at 4.28, Kyle Brantley wrote:
>>>
>>>> Okay, something else isn't cooperating with this at all. I 
>>>> reconfigured it to use dirsize just to test (quota = dirsize:User 
>>>> quota in 90-quota.conf instead of quota = maildir:User quota), and 
>>>> it is still trying to use maildir quotas:
>>>
>>> Your user_query in dovecot-sql.conf overrides the quota setting.
>>
>> Same problem here.
>> But how can I use maildirsize quota && user_query in 
>> dovecot-slq.conf ?
>>
>> I want to manage my users in a sql table and use maildirsize quota.
>
> There's nothing special in that. Just about all the examples in wiki
> assume you want to do that.
> http://wiki2.dovecot.org/Quota/Configuration#Per-user_quota

OK, thanks. Removing "CONCAT('*:bytes=', CAST(quota AS CHAR)) AS  
userdb_quota_rule" from user_query as well as from password_query in 
dovecot-sql.conf worked for me.

Greetz, Tobias



More information about the dovecot mailing list