> On 08 Feb 2016, at 00:26, Thierry Coppey <[email protected]> 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 "[email protected]\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)