【发布时间】:2016-03-04 08:33:40
【问题描述】:
我在 Google Cloud Compute 中有一个虚拟机,我正在尝试从中发送电子邮件。 Google doesn't allow 通过端口 25 和 465 的传出连接。我在 VM 中安装了 cPanel,现在我正在尝试将其设置为通过 Sendgrid 发送电子邮件。
在 SendGrid 的网站上有关于如何执行此操作的详细文档,但是按照说明一步一步操作后,电子邮件仍然无法发送。
这是 /var/logs/exim_main 的 sn-p:
2016-03-03 19:22:21 cwd=/ 2 args: /usr/sbin/exim -q
2016-03-03 19:22:21 Start queue run: pid=25773
2016-03-03 19:23:24 1abTCN-0003j0-Is H=smtp.sendgrid.net [158.85.10.138] Connection timed out
2016-03-03 19:23:34 SMTP connection from [127.0.0.1]:47219 (TCP/IP connection count = 1)
2016-03-03 19:23:35 SMTP connection from (localhost) [127.0.0.1]:47219 closed by QUIT
2016-03-03 19:24:27 1abTCN-0003j0-Is H=smtp.sendgrid.net [108.168.190.108] Connection timed out
2016-03-03 19:24:27 1abTCN-0003j0-Is == example@gmail.com R=send_via_sendgrid T=sendgrid_smtp defer (110): Connection timed out
2016-03-03 19:24:27 1abPZb-0000qa-33 Message is frozen
2016-03-03 19:24:27 End queue run: pid=25773
任何帮助将不胜感激。提前致谢
【问题讨论】:
标签: php linux email cpanel exim