How can I make Amazon SES the default method of sending mail from my server?
- by Jake
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?