歡迎您光臨本站 註冊首頁

sendmail問題!請高人看看

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

sendmail問題!請高人看看

以下是sendmail在webmin中的操作,出現的錯誤提示:
用命令 /usr/lib/sendmail -v -q -C/etc/mail/sendmail.cf 強制遞送郵件..

WARNING: local host name (liwei) is not qualified; fix $j in config file

Running /var/spool/mqueue/l7R3wTwP009647 (sequence 1 of 1)
sttri.com.cn: Name server timeout
<liuq@sttri.com.cn>... Transient parse error -- message queued for future delivery

系統的退信,錯誤提示如下:

**********************************************
    **      THIS IS A WARNING MESSAGE ONLY      **
    **  YOU DO NOT NEED TO RESEND YOUR MESSAGE  **
    **********************************************

The original message was received at Fri, 24 Aug 2007 14:10:16 +0800
from

   ----- Transcript of session follows -----
451 sttri.com.cn: Name server timeout
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old




貌私DNS解析問題,但用同樣的DNS伺服器做如下的測試:

用(redhat+sendmail,sendmail 是系統自帶) 發到此域的郵件就會有這個問題,也就上面的問題。(當然發其它地址肯定沒問題了)。

用(windows+imail)發到此域的郵件,則會順利到達!

不知其解!希望哪位斑竹或者路過的大哥給小弟指點下!

[ 本帖最後由 asus1024 於 2007-8-27 14:51 編輯 ]
《解決方案》

hostname 要使用完全合格域名(FQDN)
《解決方案》

斑竹大哥!

感謝斑竹大哥的回復,跟我這個機器名稱沒關係,改成了FQDN,還是以下錯誤:
用命令 /usr/lib/sendmail -v -q -C/etc/mail/sendmail.cf 強制遞送郵件..

Running /var/spool/mqueue/l7R6IXBo004057 (sequence 1 of 1)
sttri.com.cn: Name server timeout
<liuq@sttri.com.cn>... Transient parse error -- message queued for future delivery
《解決方案》

問題解決了!

2種解決方法:
1,此域名解析比較特殊,在自己DNS伺服器做對方的解析

2,升級sendmail---->8.14.0版本

[火星人 ] sendmail問題!請高人看看已經有1137次圍觀

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