Unrecognized host name gmail.com.
503 5.0.0 Need RCPT (recipient)
如果我以任何电子邮件*@gmail.com发送邮件,则会出现此错误
如何启用将邮件发送到所有地址的功能?
news@ovz1:~$ nslookup gmail.com
Server: 10.100.10.2
Address: 10.100.10.2#53
Non-authoritative answer:
Name: gmail.com
Address: 173.194.32.182
Name: gmail.com
Address: 173.194.32.181
root@ovz1:~# echo 3,0 [email protected] | sendmail -d8.20 -bt
_res.options = 812c3, HasWildcardMX = 0
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> canonify input: x @ gmail . com
Canonify2 input: x < @ gmail . com >
dns_getcanonname(gmail.com, trymx=1)
dns_getcanonname: trying gmail.com. (AAAA)
YES
dns_getcanonname: gmail.com
Canonify2 returns: x < @ gmail . com . >
canonify returns: x < @ gmail . com . >
parse input: x < @ gmail . com . >
Parse0 input: x < @ gmail . com . >
Parse0 returns: x < @ gmail . com . >
Parse1 input: x < @ gmail . com . >
MailerToTriple input: < > x < @ gmail . com . >
MailerToTriple returns: x < @ gmail . com . >
Parse1 returns: $# error $@ 5 . 1 . 2 $: "553 Unrecognized host name " gmail . com .
parse returns: $# error $@ 5 . 1 . 2 $: "553 Unrecognized host name " gmail . com .
sendmail.mc
MAILER(smtp)
您的sendmail.mc
文件中似乎缺少该文件。
Sendmail希望使用smtp发送到gmail.com,但邮件丢失。
[sendmail.mc
用于生成/etc/mail/sendmail.cf
]
缺少的行sendmail.mc
:
MAILER(`smtp')
proto.m4
文件:
# deal with other remote names
ifdef(`_MAILER_smtp_',
`R$* < @$* > $* $#_SMTP_ $@ $2 $: $1 < @ $2 > $3 [email protected]',
`R$* < @$* > $* $#error $@ 5.1.2 $: "_CODE553 Unrecognized host name " $2')
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句