[Dovecot] Quota warning generated when crossing on both sides
Timo Sirainen
tss at iki.fi
Mon Dec 13 15:32:28 EET 2010
On Fri, 2010-12-10 at 16:29 +0100, Harm van Tilborg wrote:
> user_query = \
> SELECT m.maildir AS home, 1001 AS uid, 1001 AS gid, \
> CONCAT('*:bytes=', m.quota, 'M') AS quota_rule, \
> 'Trash:ignore' AS quota_rule2 \
There's no need for the quota_rule2 to be here since it's always static
anyway. It could be in dovecot.conf:
plugin {
quota_rule2 = Trash:ignore
}
> Now this is what happens. Assume we have 'user at example.org', that has a
> quota of 10MB and he currently has 5MB in use. Now someone sends a 3MB
> email towards 'user at example.org'. Dovecot does indeed generate the warning
> message (75%), that arrives correctly 'together' with the 3MB email.
>
> Now the user moves the 3MB email to trash. This goes well, however:
> Dovecot generates the 75% warning message again. Which is not necessary:
> the user was cleaning his mailbox, i.e. usage is 5MB again.
This happens because of the Trash:ignore. It was a bug, fixed:
http://hg.dovecot.org/dovecot-1.2/rev/fa6772b19795
More information about the dovecot
mailing list