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.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to