茫茫網海中的冷日
         
茫茫網海中的冷日
發生過的事,不可能遺忘,只是想不起來而已!
 恭喜您是本站第 1735422 位訪客!  登入  | 註冊
主選單

Google 自訂搜尋

Goole 廣告

隨機相片
F09_069.jpg

授權條款

使用者登入
使用者名稱:

密碼:


忘了密碼?

現在就註冊!

小企鵝開談 : [分享]SendMail 問題 mail loops back to me 處理法

發表者 討論內容
冷日
(冷日)
Webmaster
  • 註冊日: 2008/2/19
  • 來自:
  • 發表數: 15773
[分享]SendMail 問題 mail loops back to me 處理法
"mail loops back to me (MX problem?) Local configuration error"
This is a very common problem covered in the Sendmail FAQ:
http://www.sendmail.org/faq/section4.html#4.5

If you receive these errors in Sendmail, class w--the list of hostnames for which the local computer will accept mail--may not be configured correctly.

Example error:

----- The following addresses had permanent fatal errors -----
<root@host.server.com>
(reason: system config error)

----- Transcript of session follows -----
553 5.3.5 host.server.com. config error: mail loops back to me (MX problem?)
554 5.3.5 <root@host.server.com>... Local configuration error

Solution (Sendmail version 8.11 and greater):

1. Add host.server.com to /etc/mail/local-host-names
2. Send the Sendmail daemon a SIGHUP signal (ex. kill -HUP `head -1 /var/run/sendmail.pid`)
Solution (Sendmail versions before 8.11; I would recommend upgrading to a later version of Sendmail):

1. Add host.server.com to /etc/mail/sendmail.cw
2. Send the Sendmail daemon a SIGHUP signal (ex. kill -HUP `head -1 /var/run/sendmail.pid`)

These solutions assume you are using the use_cw_file feature in Sendmail, and that you are using default locations for the files containing additional class w addresses. Check your sendmail.mc or sendmail.cf files to determine if you are using this feature and the locations of the files.

You can display class w entries with the following command:
echo '$=w' | sendmail -bt -d0.4

By default, class w contains localhost, the IP address 127.0.0.1, and the system's IP address(es), fully qualified domain names, and short hostnames. Entries placed in /etc/mail/local-host-names or /etc/mail/sendmail.cw are added to these default values.


Last modified: 03/06/2003
前一個主題 | 下一個主題 | | | |

討論串




Powered by XOOPS 2.0 © 2001-2008 The XOOPS Project|