[Mimedefang] filter_recipient
Harry Otten
hotten at 12solveIT.nl
Thu Jul 6 11:08:42 EDT 2006
> You can tempfail each recipients for the secondary domain, BUT:
> Search the list, dfs often advices against this technique because of wrong
MTA implementations that try DATA even after all recipients has been failed,
sendmail > returns a permfail then.
Not a good option than. To bad sendmail can not be configured to temp fail
even if the continue sending the DATA block.
> You don't, MIMEDefang doesn't, Milter doesn't, sendmail
> doesn't, the sendmail does, but doesn't tell anybody.
> Hence, you are stuck with the fact that:
> a) you tempfail the recipients and live the few bad MTAs, or
> b) accept all the mail and precess @Recipients in filter_begin.
>
Okay, I will yust stick to B.
> > When all the recipients are done the sending mail server issues the
> > DATA instruction. At this point I want to do filtering.
>
> Huh, you seid to NOT want to filter, but tempfail ;-)
I meant to tempfail or not ;-)
>
> > Instead of end your email with a dot we might temp fail.
>
> You cannot, once the DATA phase started, it MUST be finished
> with dot; it will be failed afterwards.
>
> ===
>
> If you ask me, try variant a) above or drop the Backup MX
> function. MTAs will retry themselves.
>
> BTW#2: From your description stream_by_domain() seems to fit
> better than *_recipient(). But won't matter at all, if you
> use one of the both variants above.
>
> Bye,
>
> --
> Steffen Kaiser
Thanks for your feedback!
Cheers,
Harry
More information about the MIMEDefang
mailing list