Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I make Postfix reject all mails when the client is not authenticated and the sender is from my domain? Is there an easy way to do this?


migration rejected from Jan 17 '15 at 9:14

This question came from our site for computer enthusiasts and power users. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by masegaloeh, Katherine Villyard, mdpc, Sven Jan 17 '15 at 9:14

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

> How do I stop my machine from receiving any mail from the world at large? No, that would be if I would refuse not authenticated mail delivery with @mydomain as recipient. – Max Ried Jun 3 '11 at 15:12
Can you clarify a bit more what you're looking to block? Unauthenticated users sending mail to the world at large using your server? Users sending mail with your domain as the "from" address? – blahdiblah Jun 6 '11 at 23:28
If the MAIL FROM's domain is my domain AND the client that tries to deliver it to MY server it should reject it. Of course it only should reject the mails if the client is NOT authenticated. It's just that my server should be aware of that there is no one else than me who should be able to send mails from @mydomain – Max Ried Jun 7 '11 at 8:19

Browse other questions tagged or ask your own question.