How do I configured postfix and to use SES, and still be able to forward email from unverified external addresses?

Posted by Jeff on Server Fault See other posts from Server Fault or by Jeff
Published on 2012-10-01T21:33:43Z Indexed on 2012/10/01 21:39 UTC
Read the original article Hit count: 367

Filed under:
|
|

We are using postfix for email group lists (eg "[email protected]" will go to all members) from Amazon EC2 systems. For a variety of reasons (scalability and reliability) we would like to use SES for all outgoing emails.

I was able to configure postfix to use SES as the SMTP for outgoing emails. This works fine for all verified emails. But of course, when an outsider emails me at "[email protected]", it chokes. Postfix is configured to forward to my gmail account (via the virtual table), the SES rejects it because the outside user is not verified.

So none of our mailing groups configured through postfix will work this way.

I would be happy to rewrite all "From" addresses before sending (and simply leave the Reply To as the original sender), but I cannot seem to find a working configuration.

No matter what I set in canonical or generic regexps, SES seems to reject all forwarded emails.

Surely somebody must have configured postfix with SES to handle virtual addresses? How does this work?

© Server Fault or respective owner

Related posts about amazon-ec2

Related posts about postfix