【问题标题】:Google Compute Engine :Email solution谷歌计算引擎:电子邮件解决方案
【发布时间】:2014-06-30 14:08:27
【问题描述】:

Google 计算引擎会阻止传出的 smtp。它在其文档中提供的唯一选项是使用 sendgrid。

我有自己的邮件服务器,用于处理交易电子邮件和其他电子邮件。

我可以使用另一个邮件服务器(不在 google 上)并在计算引擎上创建一个 smtp 中继(在 25 以外的端口上)将端口 25 的流量转发到该服务器吗?

如果有,怎么办?

【问题讨论】:

    标签: email smtp google-compute-engine emailrelay


    【解决方案1】:

    默认情况下,Google Compute Engine 允许除端口 25 之外的所有端口上的出站连接,由于存在滥用风险,该端口被阻止。所有其他端口都是开放的,包括端口 587 和 465。

    您可以使用第三方提供商,例如 SendGrid、Mailgun 或 Mailjet

    对于 sendgrid:https://cloud.google.com/compute/docs/tutorials/sending-mail/using-sendgrid

    邮件枪:https://cloud.google.com/compute/docs/tutorials/sending-mail/using-mailgun

    对于 Mailjet:https://cloud.google.com/compute/docs/tutorials/sending-mail/using-mailjet

    【讨论】:

      【解决方案2】:

      请参阅 Googles documentation on this,我使用 SendGrid 和 Postfix 从我的 GCE 实例发送电子邮件。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2010-09-29
        • 1970-01-01
        • 1970-01-01
        • 2013-12-05
        • 2012-06-13
        • 1970-01-01
        • 2020-10-25
        相关资源
        最近更新 更多