Jump to content
Sending Email From Ec2
12 replies to this topic
Posted 02 April 2008 - 02:41 AM
Does this book discuss the problems with sending email successfully from an EC2 instance?
I am currently finding that EC2 is not a solid option since any emails generated by my sites or apps are either being marked as spam or just point blank refused.
I am yet to find a reliable solution for this!
Posted 02 April 2008 - 04:23 AM
The book does not discuss sending email from EC2, and I don't believe there is a good solution for doing this without using an external service or email server. The recent announcement of Elastic IP addresses (static-like addresses) might help somewhat, but it is still not possible to configure everything that is necessary to avoid a proportion of the emails sent from EC2 from being flagged as spam.
The best place to look for suggestions and advice on this topic is the EC2 discussion forums, but as far as I'm aware there are still limitations in EC2 that make it ill-suited for email distribution.
Posted 02 April 2008 - 04:28 AM
Thanks for the reply James. Good luck with the book... I'll be buying a copy!
Posted 29 April 2008 - 06:27 AM
The basic problem is that dynamic IP's are associated with spam by some lists. You could use something like Dynamic DNS's Mailhop Outbound http://www.dyndns.co...p/outbound.html to send email from a known static mailhost. As a low volume email relay, it's been working great for me sending email from my dynamic IP mail computer.
Posted 14 October 2013 - 01:43 AM
Sending email reliably involves ensuring that messages are delivered without being rejected or blacklisted by spam filters, MTAs or MDAs. In order to send email reliably from EC2, there are several stategies that are available, including:
Amazon SES service:
An authenticated SMTP mail service:
Host your own SMTP server with an Elastic IP associated (such as Postfix or Sendmail)
Email and Elastic IPs
When developing an email policy with your deployments, note that Elastic IPs are considered dynamic and not static in the global registry. This can create a challenge, as some destinations MTAs (Mail Transfer Agents) carry out a reverse DNS lookup on the SMTP client to verify the source of a receiving email. When a reverse DNS lookup is performed, emails that do not match the sender's domain can be dropped.Although this is technically outside mail RFCs and SPF should be utilized instead, it remains a common practice for mail administrators.
To stop destination mail (SMTP) servers from blocking email that originates from EC2 instances, you can map a DNS PTR record (reverse DNS) against the Elastic IP used with your SMTP server (for example, mail.mydomain.com). AWS released this support In March 2010.
Note: To apply for RDNS to be configured for your EIP, complete Amazon's Request to Remove Email Sending Limitations form.
DietKart - http://www.dietkart.com Visit e-Portal - (AWS Hosted)
Edited by DietKart, 14 October 2013 - 01:58 AM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users