On Dec 11, 2009, at 12:49 PM, Udo Rader <list...@bestsolution.at> wrote:

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:

really?

The man page says this:

------CUT------
Reject the request when Postfix is not final destination for the sender address, [...]
------CUT------

... so I had the illusion that that would do it?

You cut out the most important part of the documentation for that directive. Please re-read it, noting the word "and" after the portion you quote above.

Reply via email to