
我正在使用 ubuntu 服务器版本 11.01
我使用 sendmail 来发送电子邮件。
我无法收到从服务器发送到 Google 服务的电子邮件,它们位于同一域名中。
sendmail 日志的一部分:relay=mail.google.com,dsn=4.0.0,stat=Deferred:与 mail.google.com 的连接超时
答案1
首先,Gmail 在 smtp.google.com:587 上接受邮件。看来您正在使用 mail.google.com:25,请先尝试更改此配置。
如果仍然不起作用,可以在此处找到 Google 特定的中继设置http://www.phinesolutions.com/sendmail-gmail-smtp-relay-howto.html
祝你好运!