Autor: Dave C. Datum: To: exim-users Betreff: Re: [Exim] exim4: acl_smtp_mail ?
On Mon, 11 Mar 2002, Philip Hazel wrote:
> On Fri, 8 Mar 2002, Dave C. wrote:
>
> > Why is there no acl that runs after mail from?
>
> Because I discovered, in the early days of Exim, that there are MTAs out
> there that don't treat 5xx errors after MAIL commands as show stoppers.
> They just try to resend the message later. Exim 3 ended up with a
> complicated scheme of refusing after DATA the first time (so as to log
> the header), refusing after MAIL the second time (because that seemed
> the next best thing), and refusing each RCPT for the third attempt.
> These stages got added as we discovered actual MTA behaviour.
>
> For Exim 4, I didn't want to encourage refusals of MAIL commands,
> because it doesn't always work. The best known way to say "no" to an MTA
> is to refuse every RCPT. (Of course, there are some checks you can't do
> till after DATA, so I had to make that available, but you run the risk
> of getting repeated attempts.)
>
> > I would like to issue a 5xx right after MAIL FROM: under certain
> > conditions, yet I can't seem to find a way to do that..
>
> If you really want to do that, it is not a huge amount of work to add
> the code, but I would strongly advise you to think carefully abouwould
It would be a nice option for some future version. Im currently dealing
with some MTA that seems to be ignoring my rejections of his RCPT...
sigh..
It would be nice to have a a way to say 'for these senders' or 'for
these hosts', issue 5xx codes for any and all received commands.