Hi all I have sendmail on 4.4 as MX and relay for outgoing mail using smtp auth. Now some users started using arbitrary from: addresses in their mail clients. I would like to restrict those sender addresses to the local domains, i.e. allow them to send mail from u...@my.domain or u...@my.other.domain, and reject their mails from u...@foreign.domain, preferably during the smtp dialog between MUA and sendmail.
I've searched the sendmail docs and google, but can't find how to do this. Is it possible at all? thx /markus