doveadm quota recalc returns a Segmentation fault

Aki Tuomi aki.tuomi at dovecot.fi
Wed Sep 7 09:33:12 UTC 2016



On 03.09.2016 15:19, Aki Tuomi wrote:
>> On September 3, 2016 at 1:30 PM Alessio Cecchi <alessio at skye.it> wrote:
>>
>>
>> Hi,
>>
>> with the latest dovecot-ee version (2.2.25.4 (5cb7c97)) if I run 
>> “doveadm quota recalc -u alessio at skye.it” dovecot return a “Segmentation 
>> fault” (but the quota is update fine). Since dovecot version 2.2.24.3 
>> (55cdc32) works fine.
>>
>> This is my quota backends configuration:
>>
>> plugin {
>>    quota = maildir:UserQuota
>>    quota2 = dict:Quota Usage::noenforcing:proxy::sqlquota
>> }
>> dict {
>>    sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
>> }
>>
>> I found that if I comment the line “quota2 = dict:…” doveadm quota 
>> recalc works fine. I have two quota backends because with dict I can 
>> store everybody's current quota usage in a SQL database for fast 
>> retrieving (like quota_clone plugin but I cannot switch to it 
>> immediately).
>>
>> I hope can be fixed.
>> Thanks
>> -- 
>> Alessio Cecchi
>> Postmaster AT http://www.qboxmail.it
>> http://www.linkedin.com/in/alessice
>
> Thank you for your report. We'll look into it.
>
> Aki

Fixed in
https://github.com/dovecot/core/commit/e525e4215127aeb76a3b5a31f1a0d24a68f37c68

Aki


More information about the dovecot mailing list