Re: [exim] Discard bounce notification emails before they ar…

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: Re: [exim] Discard bounce notification emails before they are sent
On 2011-02-26 12:25, Mikhail Lischuk wrote:
>
>
> On Sat, 26 Feb 2011 10:14:06 +0000, Jeremy Harris wrote:
>
>> Don't
> accept mails in the first place, if they're going to bounce. Reject them
> during the initial smtp session, via checks in ACLs. -- Jeremy
>
> That is
> not always possible. I have similar problem:
>
> for example, I have to
> accept messages to aliases, which resolve to 3-5 internal mailboxes, and
> if one of them is over quota Exim will generate bounce. Should I reject
> the message just because of one undeliverable recipient?


You should evaluate each recipient quota at smtp time, and reject
individual recipients. Unfortunately Exim does not make this easy;
what I do is inspect the maildirsize file (plus a DB flag) in the rcpt acl.
But I have to trust the sender's claimed message size, until data-acl time.
Hence the DB flag, which can mark them as already over-quota
(and be seen by secondary-MX systems).
--
Jeremy