[Dovecot] Dovecot Postfix Quota Policy Service

Ulrich Zehl ulrich-dovecot at topfen.net
Tue May 7 12:14:15 EEST 2013

On Sat, May 04, 2013 at 07:34:44PM +0200, Robert Schetterer wrote:
> > 
> > I haven't actually tried it yet, so this is just from looking at the source
> > code: The policy service will reject (most) messages that would put a
> > mailbox over the quota limit in both 2.1 and 2.2, won't it?
> > That still seems very useful, compared to bouncing it later.
> > 
> my understanding
> you need quota-grace to make sure  mailbox get overquota for setup
> percent, if there ist no quota-grace ( like in 2.1.x ), most mail will
> be bounced by normal lda/lmtp quota rules , so policy quota always will
> seen some free space in the mailbox, unless the rare case that one (
> last ) mail fits the mailbox quota in exact 100 percent

I just tested it, and now I can verify: As long as the size= attribute is
present in the policy request, Dovecot will correctly reject messages that
are too large to fit in whatever quota you have left.

More information about the dovecot mailing list