sendmail中继状态

我有一个configuration了sendmail的RHEL3服务器,用于中继邮件到:

# "Smart" relay host (may be null) DSmailrelay 

该中继服务器是不由我pipe理的交换服务器。 前几天它的IP地址在我不知情的情况下改变了,所以我更新了邮件中继入口的/ etc / hosts中的正确ip。

不幸的是目前没有邮件,maillog报告:

 Oct 26 14:32:39 fsimag sendmail[12580]: n9Q3VxPA012580: from=root, size=3685, class=0, nrcpts=1, msgid=<~R.*.2009102614315955@*>, relay=root@localhost Oct 26 14:32:39 fsimag sendmail[12580]: n9Q3VxPA012580: to=wodwest@*.net, delay=00:00:40, mailer=esmtp, pri=33685, dsn=4.4.3, stat=queued Oct 26 14:36:09 fsimag sendmail[13670]: n9Q3ZTcf013670: from=root, size=5831, class=0, nrcpts=1, msgid=<~R.medicus.2009102614352914@*>, relay=root@localhost Oct 26 14:36:09 fsimag sendmail[13670]: n9Q3ZTcf013670: to=tsgastro@(.net, delay=00:00:40, mailer=esmtp, pri=35831, dsn=4.4.3, stat=queued Oct 26 14:36:50 fsimag sendmail[13882]: n9Q3aAxj013882: from=root, size=5830, class=0, nrcpts=1, msgid=<~C.medicus.2009102614361009@*>, relay=root@localhost Oct 26 14:36:50 fsimag sendmail[13882]: n9Q3aAxj013882: to=elmwood@*.net, delay=00:00:40, mailer=esmtp, pri=35830, dsn=4.4.3, stat=queued 

(域名被遮盖)

mailq命令什么也没有显示,我也尝试通过telnet连接到这个新的邮件服务器,并手动发送和报告为正在排队,但没有发送。

这台机器的pipe理员已经把它放回给我说他没有看到任何问题,我只想把所有的东西都回传给他。

有没有其他的testing/日志/ sendmail的原因只报告为“stat =排队”? 我查看了以前的日志,并且在这些日志中,relay设置为root @ localhost,但是没有任何设置为排队。

谢谢你的帮助,

安迪

是由/etc/resolv.conf中的不正确的dns服务器(也改变了ip)造成的。

只有在根邮件中看到拒绝邮件后才会注意到它。 上帝我讨厌sendmail。 🙁

在/etc/resolv.conf中,或者在/ etc / hosts中,或者在DNS服务器上尝试nslookup domain.com,如果不解决问题,则在DNS(防火墙,dns服务器)中有问题。 在我的情况下,问题在于防火墙规则。

根据您的设置,您可能不想依赖您的主机文件来正确的主机名称parsing。

查看:

 /etc/host.conf 

您可以控制是否控制主机的顺序,绑定或绑定主机的DNS查找。