[nycphp-talk] run my own mail server or use a 3rd party service?
Chris Snyder
chsnyder at gmail.com
Sat Dec 26 10:29:50 EST 2009
On Fri, Dec 25, 2009 at 11:01 PM, Konstantin K <kkrutoi at gmail.com> wrote:
> Sorry, I meant to say postfix, not procmail.
>
> I will be hosting the site on multiple dedicated servers.
>
> Again, the emails that need to go out will be stored in various tables
> in a database and be processed by scripts that will use the PHP
> Swiftmailer package, which uses the postfix MTA.
>
> The emails are all to external domains (like yahoo, gmail, hotmail, etc).
>
> Konstantin
You can safely and easily run Postfix on your existing application
servers. It's very efficient, especially since you are only sending
mail out, not accepting incoming messages. (Presumably you'll set the
Reply-To: address to a working mailbox at your company.)
There are two tricks to sending mail on your own: reverse DNS and
(increasingly) SPF headers.
You can get your upstream ISP to provide reverse DNS for your IP
addresses -- the name doesn't have to match the hostname of the
server, but it does have to look like a static assignment (so servers
don't think you're sending from a home network).
You set SPF records in the DNS for your domain name, and they should
assert that mail from your domain is allowed to be sent by your
servers.
Chris Snyder
http://chxor.chxo.com/
More information about the talk
mailing list