这是情况:@H_404_3@
我有一个域名,比如sub.otherdomain.com,我想设置电子邮件地址,并另外设置A记录.我不拥有此域名,但域名所有者已设置CNAME记录以指向我的某个域名(比如说customer.mydomain.com)@H_404_3@
我的理解是,设置CNAME记录将导致sub.otherdomain.com的所有记录查找都使用customer.mydomain.com上定义的记录.这似乎适用于我设置的A记录,但MX记录似乎没有正确地通过CNAME.@H_404_3@
总之,存在以下记录:@H_404_3@
sub.otherdomain.com@H_404_3@
CNAME customer.mydomain.com
customer.mydomain.com@H_404_3@
A xxx.xxx.xxx.xxx MX (mx details)
我的假设是发送到xxx@sub.otherdomain.com的电子邮件将使用来自customer.mydomain.com的MX记录.这不是这种情况吗?@H_404_3@
解决方法
The domain names that a Sender-SMTP sends in MAIL and RCPT commands MUST have been “canonicalized,” i.e.,they must be fully-qualified principal names or domain literals,not nicknames or domain abbreviations. A canonicalized name either identifies a host directly or is an MX name; it cannot be a CNAME.@H_404_3@