[Dovecot] Postfix aliases with quota-status service

Timo Sirainen tss at iki.fi
Wed Aug 7 11:35:29 EEST 2013


On 7.8.2013, at 9.29, Ulrich Zehl <ulrich-dovecot at topfen.net> wrote:

> On Tue, Aug 06, 2013 at 09:20:13PM +0200, Thomas Leuxner wrote:
>> Now everything in between seems to create SMTPD rejections in some cases
>> _or_ queue the mail and let it hit the quota in other cases. That's my
>> whole point...
> 
> I'm sorry, I don't get your point.
> 
> Are you saying that quota-status does not eliminate all over-quota bounces?
> 
> That's to be expected. quota-status does not reserve quota when questioned,
> it only tells Postfix whether enough space is currently free or not. This
> is not free of race conditions, and therefore cannot eliminate all late
> bounces, even when quota-status has all the information, including size.

I think it would work also to do the check in SMTP RCPT TO stage and do quota bouncing only there. In LMTP/LDA stage use infinite quota to avoid bouncing. Yeah, user might get a little bit over quota (even over quota_grace) but not by much.



More information about the dovecot mailing list