歡迎您光臨本站 註冊首頁

請教:DSN: Local configuration error(已解決)

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

請教:DSN: Local configuration error(已解決)

sendmail 8.13
服務都已啟動
可以發送郵件
但是似乎沒有發送成功(pop3登錄,沒有郵件)

maillog如下
Aug 14 14:07:08 pc2 sendmail: n7E678iD031269: SYSERR(root): pc2.as5.com. config error: mail loops back to me (MX problem?)
Aug 14 14:07:08 pc2 sendmail: n7E678eh031272: pc2.as5.com did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
Aug 14 14:07:08 pc2 sendmail: n7E678iD031269: to=<tp2@pc2.as5.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120286, relay=pc2.as5.com. , dsn=5.3.5, stat=Local configuration error
Aug 14 14:07:08 pc2 sendmail: n7E678iD031269: n7E678iD031271: DSN: Local configuration error
Aug 14 14:07:08 pc2 sendmail: n7E678iD031271: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=61491, dsn=2.0.0, stat=Sent
Aug 14 14:07:08 pc2 sendmail: n7E678iD031271: to=<tp1@pc2.as5.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=61491, relay=pc2.as5.com., dsn=5.3.5, stat=Local configuration error
Aug 14 14:07:08 pc2 sendmail: n7E678iD031271: n7E678iE031271: return to sender: Local configuration error
Aug 14 14:07:08 pc2 sendmail: n7E678iE031271: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32515, dsn=2.0.0, stat=Sent
Aug 14 14:09:51 pc2 dovecot: pop3-login: Login: user=<tp1>, method=PLAIN, rip=::ffff:192.168.1.11, lip=::ffff:192.168.1.12
Aug 14 14:09:51 pc2 dovecot: POP3(tp1): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0

[ 本帖最後由 darking358 於 2009-8-17 12:26 編輯 ]
《解決方案》

How can I solve "MX list for hostname points back to hostname" and "config error: mail loops back to myself" messages?

I'm getting these error messages:
553 MX list for domain.net points back to relay.domain.net 554 <user@domain.net>... Local configuration error

How can I solve this problem?

You have asked mail to a domain (e.g., domain.net) to be forwarded to a specific host (in this case, relay.domain.net) by using an MX record, but the relay machine doesn't recognize itself as domain.net. Add domain.net to /etc/mail/local-host-names (if you are using FEATURE(`use_cw_file')) or add "Cw domain.net" to your configuration file.

There are a couple of additional cases where you don't actually want local delivery, and thus adding domain.net to class w is not the right fix:

    * When relay.domain.net should just be acting as a forwarder, e.g. a firewall/gateway box. The proper fix could be to set up a mailertable entry for domain.net.
    * When relay.domain.net is a secondary (etc.) MX, and the MX mistakenly points to a CNAME or other "non-canonical" name . The proper fix is to point the MX at the actual name, a "work-around" to add the MX target to class w.

Important: When making changes to your configuration file, be sure you kill and restart the sendmail daemon (for any change in the configuration, not just this one):
kill -HUP `head -1 /var/run/sendmail.pid`

Note: You can also get this error message (MX loops ...) when two sendmail systems talk to each other, and both have the same value of $j . The best solution is "don't do that."


mailertable怎麼使用
怎麼 point the MX at the actual name, a "work-around" to add the MX target to class w.
《解決方案》

應該是設置有問題,沒有過sendmail,你看下這個文章吧,或許能幫到你,

http://hi.baidu.com/vvpav/blog/item/b837ae34ba5acbb7d1a2d328.html
《解決方案》

是用sendmail-cf格式化后的配置
還是直接手工修改的配置

還你是后一種
《解決方案》

config error: mail loops back to me (MX problem?)


dsn=5.3.5, stat=Local configuration error


return to sender: Local configuration error

由上面這些都看出是配置文件有問題
另外DNS 的MX記錄配置正確嗎?
《解決方案》

發信本來要發出去的,結果發給自己了。
《解決方案》

問題已解決
謝謝各位的回復

問題原因是hostname

將/etc/sysconfig/network中的hostname改為localhost.localdomain
使用hostname命令更改hostname為郵箱所用域名
重啟sendmai

hostname默認配置在rhel5的和fedora10有點不太一樣
再次謝謝各位的回復
《解決方案》

原帖由 darking358 於 2009-8-17 12:26 發表 http://bbs2.chinaunix.net/images/common/back.gif
問題已解決
謝謝各位的回復

問題原因是hostname

將/etc/sysconfig/network中的hostname改為localhost.localdomain
使用hostname命令更改hostname為郵箱所用域名
重啟sendmai

hostname默認配置在rhe ...


暈4

[火星人 ] 請教:DSN: Local configuration error(已解決)已經有2167次圍觀

http://coctec.com/docs/service/show-post-21129.html