Found bug in quota-status + patch
Timo Sirainen
tss at iki.fi
Wed Mar 2 14:31:52 UTC 2016
> On 08 Feb 2016, at 00:26, Thierry Coppey <info at tcknet.ch> 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:
> printf "recipient=mailbox at example.com\nsize=10000000000\n\n" | nc inet:mailstore.example.com 12340
> it should reject, unless you have no quota, or more than 10G).
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)
More information about the dovecot
mailing list