Mailgun 使用通配符子域发送和接收
Mailgun sending AND receiving using wildcard subdomains
我希望能够从 foo@*.mydomain.com 发送并接收响应,而无需为我感兴趣的每个子域手动设置 MX 记录 (bar.mydomain.com, baz .mydomain.com, 等mydomain.com , ...)
Mailgun docs show a setting on a domain 在网络 ui.
中调用了 wildcard
标记为 "Mailgun allows you to receive email at multiple subdomains of a single domain without actually adding them. You still need to add the appropriate MX records for your subdomain(s) at your DNS provider"
this ServerFault answer 上的评论似乎暗示必须为每个子域创建一个新的 MX 记录。我宁愿不必这样做,而只是通过这样的方式保持动态:
@ IN MX 10 mxa.mailgun.org.
@ IN MX 10 mxb.mailgun.org.
*.mydomain.com. IN MX 10 mxa.mailgun.org.
*.mydomain.com. IN MX 10 mxb.mailgun.org.
Mailgun 是否支持从通配符子域发送和接收?如果是,应该添加哪些 DNS 记录 (MX & SPF/DKIM)?
(没有列出具体细节。)
刚刚收到 MG 支持的回复
We do not support sending from wildcard domain. We require each domain
you wish to send with be added and verified to our system with the
explicitly SMTP credentials or API endpoint used for sending.
我希望能够从 foo@*.mydomain.com 发送并接收响应,而无需为我感兴趣的每个子域手动设置 MX 记录 (bar.mydomain.com, baz .mydomain.com, 等mydomain.com , ...)
Mailgun docs show a setting on a domain 在网络 ui.
中调用了wildcard
标记为 "Mailgun allows you to receive email at multiple subdomains of a single domain without actually adding them. You still need to add the appropriate MX records for your subdomain(s) at your DNS provider"
this ServerFault answer 上的评论似乎暗示必须为每个子域创建一个新的 MX 记录。我宁愿不必这样做,而只是通过这样的方式保持动态:
@ IN MX 10 mxa.mailgun.org.
@ IN MX 10 mxb.mailgun.org.
*.mydomain.com. IN MX 10 mxa.mailgun.org.
*.mydomain.com. IN MX 10 mxb.mailgun.org.
Mailgun 是否支持从通配符子域发送和接收?如果是,应该添加哪些 DNS 记录 (MX & SPF/DKIM)?
(
刚刚收到 MG 支持的回复
We do not support sending from wildcard domain. We require each domain you wish to send with be added and verified to our system with the explicitly SMTP credentials or API endpoint used for sending.