Please, don't send "please help" as subject.
Send your main.cf revelant information.
Victor Duchovni wrote:
On Fri, Dec 11, 2009 at 04:16:40PM +0100, Udo Rader wrote:
Umar Draz wrote:
I have postfix server with SMTP authentication.
My client's are using MS outlook for sending/receiving emails.
my domain name is = foo.com
but i am facing a very strange problem. If someone change his/her identity
like (u...@foo.com) to u...@yahoo.com. Then my mail server send his/her
email as u...@yahoo.com anywhere.
Would you please help how i can stop this. I want user only sent outgoing
email using my domain name.
http://www.postfix.org/postconf.5.html#reject_unknown_sender_domain
No, because "yahoo.com", for example, is not "uknown". Since the OP
uses SASL auth, he could try to make headway with:
http://www.postfix.org/postconf.5.html#reject_sender_login_mismatch
this can break use-cases where the authenticated client is an MTA,
forwarding email for multiple users or another domain.