Google Compute Engine (GCE) email delivery solution?

后端 未结 3 2278
南方客
南方客 2021-02-20 02:04

I\'ve just setup several instances on Google Compute Engine and getting trouble with email delivery system since GCE blocks outbound connections on ports 25, 465, and 587.

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-20 03:04

    From the same page:

    Blocked Traffic

    Traffic on these ports to and from the Internet are blocked or restricted for all Google Compute Engine instances. If you think you have a compelling reason to allow this traffic, please contact the Google Compute Engine team at gc-team@google.com.

    • All outgoing traffic to port 25 (SMTP) is blocked
    • Most outgoing traffic to port 465 or 587 (SMTP over SSL) is blocked except for known Google IP addresses

    https://developers.google.com/compute/docs/networking#blockedtraffic

    It looks like you'll need to have a compelling reason to allow the traffic for your application; I'm presuming that hitting GMail delivery limits might be a reason. Note that companies like SendGrid also offer email delivery and management (bulk email as a service) with an HTTP interface that you could call from GCE.

提交回复
热议问题