使用不带MX记录的AWS SES接收电子邮件 [英] Receive email with AWS SES without MX record

查看:125
本文介绍了使用不带MX记录的AWS SES接收电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想处理特定电子邮件上的传入电子邮件.在AWS文档中,它说

I'll like to process incoming email on a specific email. In aws docs it says

尽管您无需发布MX记录以通过Amazon SES接收邮件,但如果您不发布该记录,则仅当您明确将其路由到Amazon SES时,Amazon SES才会为您的域接收邮件.

Although you are not required to publish an MX record to receive mail through Amazon SES, if you don't publish the record, Amazon SES will receive mail for your domain only if you explicitly route it to Amazon SES.

http://docs.aws. amazon.com/ses/latest/DeveloperGuide/receiving-email-mx-record.html

如何将电子邮件明确路由到SES?

How do I explicitly route email to SES?

推荐答案

经过数小时的研究并且尝试使SES在不使用MX记录的情况下收到电子邮件的尝试(已通过gSuite/Google设置了一条附加路线应用),这是我关于如何解决此问题的最佳建议.

After hours of research and failed attempts of having SES receive emails without the use of a MX record (had set up an additional Route via gSuite / Google Apps), here is my best suggestion on how to go about this.

创建一个子域,并在插入TXT验证记录后将其MX记录指向SES.
创建必要的规则集以接收和保存来自any@sub.domain.com的电子邮件后,您现在可以让SES接收来自您任何电子邮件地址的电子邮件只需将其电子邮件转发到启用了SES的子域电子邮件地址,即可拥有自己的(即使未经过SES验证).

Create a subdomain and point its MX record to SES after inserting the TXT verification record.
After creating the necessary ruleset to receive and save email from any@sub.domain.com, you can now have SES receive email from any email address you own (even if it's not verified with SES) by simply forwarding its emails to the SES enabled subdomain email address.

不幸的是,它仍然需要MX记录,但请检查一下...

您可以在主域上创建一个自定义子域,然后对其进行任何命名.就我而言,它称为ses.mydomain.com 接下来,我通过 Domains 链接将新创建的子域添加到SES.

将其作为域添加到SES后,会立即出现一个弹出窗口,显示所需的TXT verification recordMX mail record.

Unfortunately, it does still require an MX record, but check it out...

You can create a custom subdomain on your primary domain and call it anything. In my case, I called it ses.mydomain.com Next, I added my newly created subdomain to SES via the Domains link.

Immediately upon adding it as a domain to SES, a pop-up window appears displaying the required TXT verification record and MX mail record.

在将这两个DNS记录分配给我的子域后不久,该子域便被验证,并可以通过规则集设置一些快速规则!

Shortly after assigning these two DNS records to my subdomain, the subdomain is verified and able to receive email after setting a few quick rules via Rule Sets!

这是很酷的部分-您仍然可以让SES从您有权访问的任何电子邮件地址接收电子邮件.

Here's the cool part - you can still have SES receive email from any email address you have access to.

只需将您要发送到SES的电子邮件地址转发到启用了SES的子域电子邮件地址,即可设置转发器.

含义-如果SES能够接收来自someone@ses.example.com的电子邮件,但是您希望它实际上接收来自someone-else@example.com的电子邮件,那么您要做的就是将someone-else@example.com转发到someone@ses.example.com

Meaning - If SES is able to receive email from someone@ses.example.com, but you want it to actually receive email from someone-else@example.com, then all you need to do is forward someone-else@example.com to someone@ses.example.com!

请记住,您仍然需要创建必要的规则来接收电子邮件. 请参阅此AWS Blog Post,以了解更多信息.

Remember, you still need to create the necessary rules to receive emails. See this AWS Blog Post for more information.

这篇关于使用不带MX记录的AWS SES接收电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆