Sendmail Host未知错误

时间:2013-05-30 06:42:17

标签: ruby-on-rails-3 smtp sendmail actionmailer

我正在尝试使用sendmail发送邮件。但是这封邮件并没有得到任何好处。 在/var/mail/root我收到此错误

   ----- The following addresses had permanent fatal errors -----
<noreply@xxxxx.com>
    (reason: 550 Host unknown)

   ----- Transcript of session follows -----
550 5.1.2 <noreply@xxxxx.com>... Host unknown (Name server: xxxxx.com: host not found)

2 个答案:

答案 0 :(得分:0)

您配置了Sendmail吗?这是一个ubuntu指南http://developernote.com/2012/07/how-i-configured-sendmail-for-php-on-ubuntu-server-12-04/或google“install sendmail”

答案 1 :(得分:0)

您能获得xxxxx.com的MXA个DNS记录吗?

否=&gt;这不是Sendmail的错。

“非sendmail”测试:

dig MX xxxxx.com