2013-05-30 81 views
0

我正在嘗試使用sendmail發送郵件。但郵件沒有交付。 在/var/mail/root我得到這個錯誤Sendmail主機未知錯誤

----- The following addresses had permanent fatal errors ----- 
<[email protected]> 
    (reason: 550 Host unknown) 

    ----- Transcript of session follows ----- 
550 5.1.2 <[email protected]>... Host unknown (Name server: xxxxx.com: host not found) 

回答

0

你能得到MXA xxxxx.com的DNS記錄?

NO =>這不是Sendmail的錯。

「非sendmail的」 測試:

dig MX xxxxx.com 
+0

謝謝,但我想如果我從給: 「xxxxx.com」 在mailer.rb文件,它的工作原理。但是,如果我給[email protected],它不起作用,並最終給550未知的主機錯誤 – geeku

+0

我做了挖掘MX xxxxx.com .. ..我怎麼知道,如果sendmail工作正常? – geeku