我正在尝试使用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)
答案 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的MX
或A
个DNS记录吗?
否=&gt;这不是Sendmail的错。
“非sendmail”测试:
dig MX xxxxx.com