sendmail报错:“My unqualified host name ( name ) unknown; sleeping for retry“
- 作者帖子
- Up::2
1> tecent企业邮箱发送失败,查看系统邮件日志,发现如下错误:
Dec 11 14:28:08 rdosrv sendmail[22803]: My unqualified host name (rdosrv) unknown; sleeping for
retryDec 11 14:35:23 rdosrv sendmail[22944]: My unqualified host name (rdosrv) unknown; sleeping for
retryDec 11 14:35:57 rdosrv sendmail[22962]: My unqualified host name (rdosrv) unknown; sleeping for
retry竟然是无法解析rdosrv,有点意思,直接去ping rdosrv自然是没问题,突然想到好像FQDN里面规定域名必须用”.”结尾,难道是hosts里面少了一个”.”,尝试修改hosts文件:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.1.28 rdosrv. rdosrv
启动sendmail,刷一下就启动了
另外: 如果邮箱账户被禁用也会导致该问题,比如tencent 的企业邮箱账户没有授权客户端登陆密码,也会存在这个问题
2>发送邮件时发生错误 (535 Error: authentication failed, system busy )
解决办法:https://blog.csdn.net/MyMBS/article/details/89017493
- 作者帖子
- 哎呀,回复话题必需登录。