How can I make Amazon SES the default method of sending mail from my server?

Posted by Jake on Server Fault See other posts from Server Fault or by Jake
Published on 2011-02-01T06:21:31Z Indexed on 2011/02/01 7:27 UTC
Read the original article Hit count: 491

Filed under:
|

I'd like to start using Amazon SES for all emails from our server. We have a few freelance designers with PHP hosting, some Django/Python web apps and also some system utilities which send emails.

So I'd like to have PHP's mail function, the command line mail command and our python apps all be able to use it, preferably without having to set them all up in their own way.

I think what I need is to have something like Postfix running on localhost and using SES for it's delivery but I don't know how to do that.

Amazon's docs state I need to setup my mail transfer agent (MTA) so that it invokes the ses-send-email.pl script. I have the script but I'm not sure how to achieve this.

Am I on the right track? If so, how can I configure Postfix to use that script?

© Server Fault or respective owner

Related posts about email

Related posts about amazon