Found bug in quota-status + patch

Axel Luttgens axel.luttgens at skynet.be
Thu Mar 3 14:08:16 UTC 2016


> Le 2 mars 2016 à 15:31, Timo Sirainen a écrit :
> 
> 
>> On 08 Feb 2016, at 00:26, Thierry Coppey wrote:
>> 
>> Hello,
>> 
>> I’ve found a bug in the quota-status util (Dovecot 2.2.21, and probably below): it always return OK (sufficient quota) because it fails to load the user properly. More specifically, the branch " if (quser == NULL) return 1; " in src/plugins/quota/quota-status.c:59 is always taken.
>> (at least with postgresql backend, test your config with the (adapted) command below:
>> […]
> 
> It works fine with me. Maybe you simply didn't enable quota-plugin for quota-status service? (e.g. you enabled inside protocol imap { .. } and elsewhere, but not globally)

Hello Timo,

To be sure to understand correctly, are you referring to a top level setting such as:

	mail_plugins = … quota …

that could be missing?

Axel



More information about the dovecot mailing list