On 2013-08-06 2:49 PM, /dev/rob0 <r...@gmx.co.uk> wrote:
Another way, in Postfix, is to wait for end-of-DATA. Regardless of
SIZE being given, at that point, the actual size is known.
Of course as Thomas would probably point out, such a rejection is
unsafe, because ANY overquota recipient would cause rejection for
EVERY recipient; SMTP cannot have per-recipient results except at
"RCPT TO:".
But LMTP can... right?
Personally, I'd much rather allow the last overquota mail, even in
cases where the user goes far over the quota.
I agree - but it could never go over more than the max mail size allowed
so that shouldn't be a problem - unless you don't set a max mail size,
in which case you're nuts... :)