Hi Terry,

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".

Sorry, I replied without fully reading the message.

What you're looking for requires that your email interface (webmail, forms, etc) only accept mail from authenticated users. This would typically be a function of your website, not postifx. The sending application would then need
to authenticate with Postfix, or be part of MyNetworks.

Well, I have a ColdFusion based website that I have a few forms that users submit to sign up for events. So they dont log in or anything. I specified localhost in <CFMail> and it works for domains on my system, but when I send the user a copy of what they submitted they dont get it.

My main.cf says:
mynetworks = 172.16.254.0/28

That address is my apartment. I am hosting this at mosso so I have one static from them of 67.23.34.37. Mail and CF run on this same IP.

-Jason

Reply via email to