> } However, right now, I am thinking I should be able to do the invalid helo > } and invalid MX check in filter_sender since I have $sender and that's all I > } need. If I reject in filter_sender, I haven't received the entire email yet > } and it isn't a very "costly" transaction. > > If you do the test in filter_sender() then a discard would > definitely be more expensive since that would force you to receive the > message; whereas with a reject you wouldn't even have to look at the > recipients much less receive the message.
I am looking more towards using these tests in filter_sender and if they fail, to return a 5XX level Rejection for Invalid MX Record so I think we are on the same page. Regards, KAM _______________________________________________ Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

