问题描述
我想处理特定电子邮件上的传入电子邮件.在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.
创建必要的规则集以接收和保存来自[email protected]
的电子邮件后,您现在可以让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 [email protected]
, 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 record
和MX 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能够接收来自[email protected]
的电子邮件,但是您希望它实际上接收来自[email protected]
的电子邮件,那么您要做的就是将[email protected]
转发到[email protected]
!
Meaning - If SES is able to receive email from [email protected]
, but you want it to actually receive email from [email protected]
, then all you need to do is forward [email protected]
to [email protected]
!
请记住,您仍然需要创建必要的规则来接收电子邮件. 请参阅此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接收电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!