amazon-web-servicesemailinbound

How to implement inbound email on Amazon AWS?


I'm relatively new to AWS, but I am trying to figure out how to get AWS to receive emails. According this post How to configure email accounts like support@xyz.com or feedback@xyz.com on AWS SES only handles outbound email.

What I am hoping to achieve is the ability to filter aliases. For example, if the alias is "xyz12alias", then any email sent to "xyz12alias@mydomain.co", can see the email and process the content appropriately. Which in my case will be storing it in account associated with the filter.

Can anybody direct me to a strategy or service within AWS that would allow me to implement inbound email on Amazon AWS?

https://postmarkapp.com/inbound appears to give me what I want, but is there anything within the AWS framework itself? Are there alternate services to postmarkapp?

Thanks.


Solution

  • Amazon Simple Email Service just introduced incoming e-mail support:

    https://aws.amazon.com/about-aws/whats-new/2015/09/amazon-ses-now-supports-inbound-email/

    In addition to offering a scalable, cost-effective email-sending platform, Amazon SES can now accept your incoming emails. You can configure Amazon SES to deliver your messages to an Amazon S3 bucket, call your custom code via an AWS Lambda function, or publish notifications to Amazon SNS. You can also configure Amazon SES to drop or bounce messages you do not want to receive. If you choose to store your messages in Amazon S3, Amazon SES can encrypt your mail using AWS Key Management Service (KMS) before writing it to the bucket.

    You configure all of these actions by defining receipt rules, which you set up by using the Amazon SES console or the Amazon SES API. Receipt rules enable a single message to trigger multiple actions. Your rules can be as broad or as specific as you choose because you can configure them to apply to specific email addresses or entire domains.

    You can also use receipt rules to control which messages Amazon SES can accept on your behalf. Another filtering method is to set up custom IP address block lists and allow lists. If you know that you don’t want to receive mail originating from a particular IP address range, simply add it to your account's IP address block list. You can also override block lists by adding IP address ranges to your allow list, which provides fine-grained control over your inbound email traffic.