sendmail 配置使用 CNAME 域作为来自 FQDN

sendmail 配置使用 CNAME 域作为来自 FQDN

为什么 CNAME 对于来自 sendmail 的 sendmail 电子邮件无效?

我的域名“blabla.com”被命名为“bla.bla.bla.uk”。我 sendmail 它会自动选取我想要发送电子邮件的正确域名,但是一旦它到达像 google 这样的邮件服务器,显示的 FQDN 就是 A 类型记录,而不是 CNAME。

以前有人遇到过这个吗?感谢您提前提供帮助。

SU@sbank (nineveh-r2011_1.5.3) 156 > nslookup bla.bla.bla.uk 8.8.8.8
Server:         8.8.8.8
Address:        8.8.8.8#53

非权威答案:

bla.bla.bla.uk       canonical name = blabla.com.
Name:   blabla.com
Address: 217.112.157.7X


SU@ban (nineveh-r2011_1.5.3) 173 > sendmail -v [email protected]
test5

[email protected]... Connecting to [127.0.0.1] via relay...
220 lispac.lsbu.ac.uk ESMTP Sendmail 8.13.8/8.12.11; Mon, 4 Aug 2014 09:10:42 +0100
>>> EHLO bla.bla.bla.uk
250-bla.bla.bla.uk Hello lispac.lsbu.ac.uk [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> VERB
250 2.0.0 Verbose mode
>>> MAIL From:<[email protected]> SIZE=6
250 2.1.0 <[email protected]>... Sender ok
>>> RCPT To:<[email protected]>
>>> DATA
250 2.1.5 <[email protected]>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
050 <[email protected]>... Connecting to gmail-smtp-in.l.google.com. via esmtp...
050 220 ***********************************************
050 >>> EHLO bla.bla.bla.uk
050 250-mx.google.com at your service, [217.112.157.X]
050 250-SIZE 35882577
050 250-8BITMIME
050 250-XXXXXXXA
050 250-ENHANCEDSTATUSCODES
050 250 XXXXXXXB
050 >>> MAIL From:<[email protected]> SIZE=300
050 250 2.1.0 OK fo6si32099947wjc.83 - gsmtp
050 >>> RCPT To:<[email protected]>
050 250 2.1.5 OK fo6si32099947wjc.83 - gsmtp
050 >>> DATA
050 354  Go ahead fo6si32099947wjc.83 - gsmtp
050 >>> .
050 250 2.0.0 OK 1407139864 fo6si32099947wjc.83 - gsmtp
050 <[email protected]>... Sent (OK 1407139864 fo6si32099947wjc.83 - gsmtp)
250 2.0.0 s748AgvS017005 Message accepted for delivery
[email protected]... Sent (s748AgvS017005 Message accepted for delivery)
Closing connection to [127.0.0.1]

答案1

Sendmail 默认情况下将CNAME(DNS 别名)更改为真实姓名。您可以将其关闭你的sendmail 但大多数超出你控制范围的 sendmail 无论如何都会这样做。

相关内容