On 23-Feb-10 17:32, Ruben Safir wrote:
How do I get postfix to reject mails "From" my own domains coming from
outside the local network?

This is a FAQ, and a complicated one.

Are you trying to just block any email that is from u...@yourdomain.tld and to u...@yourdomain.tld? If so, the easiest way, and the most sensible is to have users authenticate and then reject unauthenticated local users.

You could also just take a sledgehammer and forbid anyone outside sending mail 'from' a local user, but unless you are absolutely positive that no one will even want to send mail to themselves (something i do daily for example) you are just going to piss people off.

You can set up SPF for yourself and enforce it, but again, this is going to annoy your road warrior who is forced to use a 3rd party server to send out mail (since many ISPs block port 25).

Really, the best solution is to tell your users to use port 587 and make them authenticate. Works for everyone.

Reply via email to