主题: 不能发外部邮件了

能收到外部的邮件了,但是怎么又发不出了呢,以下是日志:
[root@mail tmp]# tail /var/log/maillog
Apr 14 10:47:20 mail postfix/qmgr[2089]: 5CBB0118E7D: removed
Apr 14 10:47:20 mail postfix/smtpd[16438]: disconnect from localhost.localdomain[127.0.0.1]
Apr 14 10:47:20 mail postfix/pipe[16440]: 6ADAB118C72: to=<songchanghong@sskil.com>, relay=dovecot, delay=0.1, delays=0.04/0.04/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service)
Apr 14 10:47:20 mail postfix/qmgr[2089]: 6ADAB118C72: removed
Apr 14 10:52:18 mail postfix/qmgr[2089]: BC442118E2D: from=<songchanghong@sskil.com>, size=2576, nrcpt=1 (queue active)
Apr 14 10:52:18 mail postfix/qmgr[2089]: 882DA118CAA: from=<www@sskil.com>, size=1552, nrcpt=1 (queue active)
Apr 14 10:52:18 mail postfix/qmgr[2089]: 7913B118C74: from=<songchanghong@sskil.com>, size=6395, nrcpt=1 (queue active)
Apr 14 10:52:18 mail postfix/smtp[16475]: BC442118E2D: to=<bohemian803@hotmail.com>, relay=none, delay=539, delays=539/0.08/0.02/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=hotmail.com type=MX: Host not found, try again)
Apr 14 10:52:18 mail postfix/smtp[16477]: 882DA118CAA: to=<liuzwei@163.com>, relay=none, delay=560, delays=560/0.07/0.01/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=163.com type=MX: Host not found, try again)
Apr 14 10:52:18 mail postfix/smtp[16479]: 7913B118C74: to=<tsong@wgl-qda.com.cn>, relay=none, delay=926, delays=926/0.07/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=wgl-qda.com.cn type=MX: Host not found, try again)

提示这几个找不到,这几个已经添加到policyd里了

回复: 不能发外部邮件了

liuzwei 写道:

(Host or domain name not found. Name service error for name=hotmail.com type=MX: Host not found, try again)

查一下你的dns设置。

回复: 不能发外部邮件了

谢谢,弄好了

回复: 不能发外部邮件了

怎么处理好的?可否分享一下?

回复: 不能发外部邮件了

呵呵,不知道什么原因,/etc/resolv.conf中设置的DNS没有了,就重新添加了,如下:
[root@mail ~]# cat /etc/resolv.conf
# Generated by NetworkManager


# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
nameserver 202.102.134.68
nameserver 202.102.128.68

回复: 不能发外部邮件了

谢谢分享 smile