5ol.cc 发表于 2015-11-24 09:31:25

postfix "loops back to myself"

我们客户公司(infor-trans.com)的邮件发不进我们公司邮箱(cn-gd.uc.com.tw),他们管理员传给我的maillog如下:
maillog:
Mar5 10:02:51 mail postfix/smtp: ACB5812A2DF: to=<sales2@cn-gd.uc.com.tw>,relay=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)
Mar5 10:02:51 mail clamsmtpd: 1008D1: from=jerry@infor-trans.com, to=sales2@cn-gd.uc.com.tw, status=CLEAN
Mar5 10:02:51 mail postfix/qmgr: F378F12A4B9: from=<jerry@infor-trans.com>, size=1887, nrcpt=1 (queue active)
Mar5 10:02:51 mail postfix/smtpd: disconnect from localhost
Mar5 10:02:51 mail postfix/qmgr: ACB5812A2DF: removed
Mar5 10:02:52 mail postfix/smtp: warning: hostcn-gd.uc.com.tw:25 replied to HELO/EHLO with my ownhostname localhost
Mar5 10:02:52 mail postfix/smtp: F378F12A4B9: to=<sales2@cn-gd.uc.com.tw>,relay=cn-gd.uc.com.tw:25, delay=1.6,delays=0.25/0.02/1.3/0, dsn=5.4.6, status=bounced (mail forcn-gd.uc.com.tw loops back to myself)
Mar5 10:02:52 mail postfix/cleanup: 8B6BB12A81B: message-id=<20070305020252.8B6BB12A81B@localhost>

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

Linuxforum上的贴子

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

原因:
$ 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的问题
阅读(2320) | 评论(2) | 转发(0) |0  上一篇:无题
  下一篇:ADSL Server出错解决一例(战神攻击)
相关热门文章

[*]用PHP输出LDAP查询结果
[*]欢迎ymyself在ChinaUnix博客安...
[*]postfix安装和设置
[*]OGEM Solids Control Desand...
[*]best fake oakleys returning ...


[*]linux 常见服务端口
[*]【ROOTFS搭建】busybox的httpd...
[*]什么是shell
[*]linux socket的bug??
[*]linux的线程是否受到了保护?...


[*]IBM DS3400 盘阵怎么查看是单...
[*]启动auditd时,报错如下,怎么...
[*]CGSL系统中root密码正确,但无...
[*]在CGSL系统中,如何为不同的用...
[*]CGSL系统如何设置交换分区的大...
给主人留下些什么吧!~~chinaunix网友2009-07-28 20:48:08
修改master.cf,10024端口的加一个myhostname = filter.domain.com怎么修改?
回复 | 举报chinaunix网友2007-03-09 16:01:39
34. I can't seem to receive messages. What does this error mean: ": mail for example.com loops back to myself"?Postfix reports this error when a DNS reply points to your mail server, but Postfix hasn't been configured to deal with messages addressed to the domain. Postfix accepts mail for domains listed in mydestination, relay_domains, virtual_mailbox_domains, virtual_alias_domains, and domains that resolve to IP addresses listed in inet_interfaces and proxy_interfaces. The
回复 | 举报评论热议
页: [1]
查看完整版本: postfix "loops back to myself"