2016-03-04 113 views
0

我在Google Cloud Compute中有一台虚拟机,我试图从中发送电子邮件。 Google doesn't allow通过端口25和465传出连接。我在虚拟机中安装了cPanel,现在我正在尝试将它设置为通过Sendgrid发送电子邮件。通过cPanel中的Sendgrid发送邮件

有关如何在SendGrid的网站上执行此操作的详细文档,但按照指示逐步执行后,电子邮件仍未发送。

这里的/ var /日志/ exim_main的一个片段:

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 == [email protected] 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 

任何帮助,将不胜感激。在此先感谢

回答