> HI All,
>
> How can I allow e-mails to be sent from my website to external users
> (like GMail) but not be an open-relay to spammers?
>

By default Postfix will deliver mail to it's intended destination (GMail, AOL,
etc.). but will accept mail only from IP addresses in "mynetworks".

I believe mynetworks (defined in main.cf) defaults to localhost, although it
could be different on your distribution, so you should verify it's actual
setting.

http://www.postfix.org/postconf.5.html#mynetworks

Allowing trusted outside users without becoming an open relay takes a little
more work. The most reliable method I've tried is SASL Authentication:

http://www.postfix.org/postconf.5.html#permit_sasl_authenticated

Terry






Reply via email to