文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>postfix "loops back to myself"

postfix "loops back to myself"

时间:2007-03-09  来源:emailwht

我们客户公司(infor-trans.com)的邮件发不进我们公司邮箱(cn-gd.uc.com.tw),他们管理员传给我的maillog如下:
maillog:
Mar  5 10:02:51 mail postfix/smtp[9752]: ACB5812A2DF: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10025, delay=0.56, delays=0.11/0/0.2/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as F378F12A4B9)
Mar  5 10:02:51 mail clamsmtpd: 1008D1: [email protected], [email protected], status=CLEAN
Mar  5 10:02:51 mail postfix/qmgr[1459]: F378F12A4B9: from=<[email protected]>, size=1887, nrcpt=1 (queue active)
Mar  5 10:02:51 mail postfix/smtpd[17959]: disconnect from localhost[127.0.0.1]
Mar  5 10:02:51 mail postfix/qmgr[1459]: ACB5812A2DF: removed
Mar  5 10:02:52 mail postfix/smtp[29390]: warning: host cn-gd.uc.com.tw[211.72.35.139]:25 replied to HELO/EHLO with my own hostname localhost
Mar  5 10:02:52 mail postfix/smtp[29390]: F378F12A4B9: to=<[email protected]>, relay=cn-gd.uc.com.tw[211.72.35.139]:25, delay=1.6, delays=0.25/0.02/1.3/0, dsn=5.4.6, status=bounced (mail for cn-gd.uc.com.tw loops back to myself)
Mar  5 10:02:52 mail postfix/cleanup[27073]: 8B6BB12A81B: message-id=<20070305020252.8B6BB12A81B@localhost>

还不知道清楚如何解决,收集的资料如下说

Linuxforum上的贴子

解决办法:
修改master.cf,10024端口的加一个myhostname = filter.domain.com
myhostname不要和main.cf里边的一样

原因:
[xjb@mail doc]$ telnet localhost 25
Trying 127.0.0.1…
Connected to localhost.localdomain (127.0.0.1).
Escape character is ‘^]’.
220 mail.domain.com ESMTP Postfix
~~~~~~~~~~~~~~~~

postfix的远程投递代理smtp在联接到smtp端口后,检查上面波浪线的部分和myhostname是否相同
相同则认为是loop了.

改一下master.cf就可以了噢.

还有一种可能是查出来的primary mx的IP和你机器上的某个IP相同,也会被认为是loop.

最后我在main.cf中mydestination中增加localhost.$mydomain
而客户也发信说把他们的main.cf中myhostname=localhost改成mail.infor-trans.com
就可以正常接收他们的信件了,看来还是hostname的问题
相关阅读 更多 +
排行榜 更多 +
熔合转运

熔合转运

休闲益智 下载
这杯我请了

这杯我请了

休闲益智 下载
像素积攒

像素积攒

休闲益智 下载