postfix-users

reject sender with a different domain of mine

Subject: reject sender with a different domain of mine
From: "David Brachet" <david.brachet AT gmail DOT com>
To: postfix-users AT postfix DOT org
Date: Thu, 2 Aug 2007 13:21:32 +0200
Hi all,

I have a problem: everybody can send a mail from my local network. For example, my domain is my_domain.com, and i can send a mail if my mail address is @toto.fr. I would like that a user on my local network can send a mail only if his mail address is toto@my_domain.com, and for toto AT toto DOT fr, the user must authenticate for example.

What is the rule i must add? I try several, but no result. Thanks
<Prev in Thread] Current Thread [Next in Thread>