我在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
任何幫助,將不勝感激。在此先感謝
我將傳出的電子郵件端口更改爲2525,並且電子郵件開始工作。 –