按照以下教程操作后:
http://blog.seeit.org/2010/08/php-mail-with-ubuntu-desktop-and-gmail/
以便通过 Gmail 发送电子邮件。
我收到以下错误:
Mail Delivery System MAILER-DAEMON@
12:38 AM (20 hours ago)
to me
This is the mail system at host .
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<[email protected]> (expanded from <"root@domain>):
delivery temporarily suspended: connect to
domain[IP]: No route to host
Final-Recipient: rfc822; root@domain
Original-Recipient: rfc822;root@domain
Action: failed
Status: 4.4.1
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to
domain[IP]: No route to host
---------- Forwarded message ----------
From: root <[email protected]>
To: root
Cc:
Date: Mon, 30 Jul 2012 00:20:01 +0300
Subject: Cron <smmsp@machine> test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp
/usr/share/sendmail/sendmail: 1267: /usr/sbin/sendmail-msp: not found
有人知道如何解决这个问题吗?
答案1
当domain[IP]: No route to host
您提交的错误报告中提到该错误时,我认为这意味着主机不可用。我不是专业人士,但我认为这可能表明邮件服务器已关闭,因此我应该尝试重新发送。