SendMail 503错误Ubuntu [“无法识别的主机名gmail.com。”]

软体动物软体动物
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:中缺少smtp邮件程序 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] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

HTTPS主机名错误:应为<sub.domain.com>。是什么原因造成的?

无法识别的导入路径(导入路径不是以主机名开头)

如何解决SocketException:主机查找失败:'www.xyz.com'(操作系统错误:没有与主机名关联的地址,errno = 7)

Git推送错误-无法解析主机名

为什么gitlab-runner无法克隆我的项目?(错误的主机名,无法连接)

该地址的主机名无效:infinitebankoftheuniverse @ gmail .com

gitlab ci错误无法将主机名“ postgres”转换为地址:名称无法解析

无法SSH进入Ubuntu 12.04 LTS [无法解析主机名(主机名):名称或服务未知

配置:错误:无法识别的选项:-安装nagios 3.5.0时with-mail = / usr / bin / sendmail

无法让MySQL识别主机名?

更改主机名后,Ubuntu无法识别该名称

如何在Ubuntu机器的端口号8080上识别主机名?

即时更改Ubuntu主机名

Debian sendmail无法写入

PHP Sendmail无法正常工作

WampServer中的主机名错误

Ubuntu 12.04-无法解析主机名

wamp sendmail无法通过smtp.gmail.com发送电子邮件:587

得到错误:主机名未知:elastictranscoder.sa-east-1.amazonaws.com

在Ubuntu上配置sendmail

无法更新Ubuntu 14.04上的主机名

sendmail无法识别本地主机名

Ubuntu 16.04无法解析主机名

Ubuntu Core-无法解析主机名

无法安装sendmail或更新Ubuntu

Ubuntu 18.04无法从路由器识别主机名

未知的主机名错误-Raspbian

错误 6:curl 无法解析主机名

kubernetes pod 无法解析本地主机名,但可以解析外部主机名,例如 google.com