How do I make Postfix to reject all mails if the client is not authenticated and to sender is @mydomain? Is the an easy way to do this?

Max

link|improve this question

1  
Also known as "How do I stop my machine from receiving any mail from the world at large?". These questions gain more traction on ServerFault. – JdeBP Jun 3 '11 at 8:46
> 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
1  
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
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.