On Sun, Nov 08, 2009 at 04:30:30PM -0500, Mike Gering wrote: > I've built my webserver on Amazon EC2 which, even with static IP addresses, > does not handle reverse DNS lookup, causing (relatively few) recipient > servers reject the mail. We've contracted with a mail relay service, but > they are more expensive than the EC2 service itself! Since we're a > municipal government, we need to reduce expenses as much as possible. The > only solution I can think of is to have postfix attempt to deliver outgoing > mail directly, and then for failures due to connection refusals, deliver > them via the relay.
Sorry EC2 is a compute-farm not an email hosting service. IIRC, Amazon have contributed the EC2 address space to the SpamHaus PBL, as they take no responsibility for any email sent from that address space, spammers can hire as many CPUs as they want, and try to send mail from EC2 if they want. Since most of the world uses zen.spamhaus.org, naturally neither you nor the spammers will have much luck with sending email directly from EC2. It is hard to see how you save money on EC2 vs renting a dedicated Colo node. EC2 is about scalability for variable loads, and the ability to rent lots of CPU for a short-term compute project. If you need modest CPU + bandwidth on an ongoing basis, you should be able to find something reasonably competitive with EC2. Instead of buying SMTP relay service. Rent a box, and deploy a relay on it. Choose a reputable hosting provider, that does not tolerate spammers, you don't want to be collateral damage when the hosting provider's entire network is blocked. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.