Implementing secondary quota w/ "Archive" namespace

Timo Sirainen tss at iki.fi
Thu Dec 1 12:37:41 UTC 2016


On 1 Dec 2016, at 2.22, Mark Moseley <moseleymark at gmail.com> wrote:
> 
>>> How about this updated patch?
>>> 
>>> 
>> Nope, still lets me move messages into the over-quota namespace.
>> 
>> Both these are true in quota_check:
>> 
>> ctx->moving
>> quota_move_requires_check
..
> Anything else I can try? I'm not sure how the logic in the quota system
> works, so I'm not sure what to suggest. What's the gist of the patch (i.e.
> what's it trying to do that it wasn't before)?
> 
> If I can get a handle on that, I can start littering things with debug
> statements to try to track stuff down.

I just messed up the if-check. This one is now committed and should work: https://github.com/dovecot/core/commit/2ec4ab6f5a1172e86afc72c0f29f470d6fd2bd9a.diff <https://github.com/dovecot/core/commit/2ec4ab6f5a1172e86afc72c0f29f470d6fd2bd9a.diff>



More information about the dovecot mailing list