Would like to use AWS SES as the SMTP service for CiviMail. The AWS SMTP is set up and authorized but not working with CiviMail.
Has anyone done this successfully? Are there any special requirements?
Would like to use AWS SES as the SMTP service for CiviMail. The AWS SMTP is set up and authorized but not working with CiviMail.
Has anyone done this successfully? Are there any special requirements?
The thread Lobo is referencing is out of date IMO. I've set up AWS SES with CiviMail multiple times in multiple configurations. My personal documentation is here.
I've also successfully set up Postfix locally on a VPS as a smarthost to relay to SES - this is nice because then all e-mail from your VPS (e.g. backup notifications, cron failures, etc.) go through SES. I don't have good docs for that, unfortunately.
Finally - note that my biggest pitfall with SES wasn't SES itself but EC2 - Amazon severely limits outgoing traffic on SMTP ports from EC2 unless you request they manually lift their throttle!
EDIT: A bunch of us discussed our mailing tool at CiviCon today. Mandrill seemed very popular, for a number of reasons - like subaccounts and the strength of the CiviCRM integration. I wasn't the only SES person - but there was a strong argument that if you do, you must relay through Postfix. If Amazon throttles you, CiviCRM won't retry - Postfix will. You could lose e-mails. Also you can lose e-mails when exceeding quota. So it works - but I may try Mandrill next time!
ANOTHER EDIT: Forget Mandrill, SparkPost is the third-party mailer of choice in Civi-world these days now that Mandrill jacked up the prices.
smtp_destination_rate_delay = 1s
in /etc/postfix/main.cf. Even at 1 second delays between e-mails, it's still getting rejected. Also see edit above.
Commented
Apr 24, 2015 at 4:42
It was pretty easy to setup and use and have the sending rates increased by Amazon - my average bill for sending about 10k emails a month from 2 domains is about $1 and using the service with domain keys in place has improved my open rate over php mail of my web server- although the first month I had a few more unsubs then normal - I think because email was moving out of spam folder to inboxes.
One other interesting point - Those using tell a friend options in email will need to rethink this as SES only allows the from to be from the sending domain - not from the tell a friend person...
There is a pretty detailed thread (a few years old) about CiviMail and SES here:
http://forum.civicrm.org/index.php?topic=18279.0
Bottom line, it does work for some folks with a local mail relay but most folks seems to prefer mandrill or some other solution. Seems like some more work needs to be done to get it to work seamlessly