当前位置: 技术问答>linux和unix
请教sendmail无法发信问题
来源: 互联网 发布时间:2017-02-18
本文导语: 下面是日志信息 Apr 25 17:07:11 localhost sendmail[7627]: q3P93cta007354: to=, delay=00:03:33, xdelay=00:00:02, mailer=esmtp, pri=570925, relay=163mx00.mxmail.netease.com. [220.181.12.53], dsn=4.0.0, stat=Deferred: Connection refused by 163mx00.mxmail.netease.c...
下面是日志信息
Apr 25 17:07:11 localhost sendmail[7627]: q3P93cta007354: to=, delay=00:03:33, xdelay=00:00:02, mailer=esmtp, pri=570925, relay=163mx00.mxmail.netease.com. [220.181.12.53], dsn=4.0.0, stat=Deferred: Connection refused by 163mx00.mxmail.netease.com.
在这台机器上
telnet 163mx00.mxmail.netease.com 25 可以连接
telnet 127.0.0.1 25 也能连接
dns正常
怀疑是主机名的问题,/etc/hosts /etc/mail/local-host-names 都设置了
Apr 25 17:07:11 localhost sendmail[7627]: q3P93cta007354: to=, delay=00:03:33, xdelay=00:00:02, mailer=esmtp, pri=570925, relay=163mx00.mxmail.netease.com. [220.181.12.53], dsn=4.0.0, stat=Deferred: Connection refused by 163mx00.mxmail.netease.com.
在这台机器上
telnet 163mx00.mxmail.netease.com 25 可以连接
telnet 127.0.0.1 25 也能连接
dns正常
怀疑是主机名的问题,/etc/hosts /etc/mail/local-host-names 都设置了
|
Connection refused by 163mx00.mxmail.netease.com.
被163拒绝了,换个其它邮箱试试
被163拒绝了,换个其它邮箱试试