> 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 _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

