On 8/16/2012 4:13 PM, Sergio wrote:
, he sends emails but the FROM is changed to something that is not a
domain on the server, that is what I am looking to stop.
Maybe a rule that could check that the FROM is not the same as the
authenticated domain.
I think SA is the wrong tool for the issue.
You might be able to do this with a trust_auth rule if you kno m4, etc.
However, I would likely look at using MIMEDefang and use with 1sendmail
auth macros.
http://etutorials.org/Server+Administration/Sendmail/Part+III+The+Configuration+File/Chapter+21.+The+D+Define+a+Macro+Configuration+Command/auth_authen/
Here's another page with some pointers on macros and mimedefang:
http://www.novosial.org/mimedefang/macro-pass/index.html
Regards,
KAM