Postfix: can receive but not send email to gmail

This is a GCP VM.

Able to receive email from gmail but not send one.

Per this article on Google, port 25 seems to be blocked: https://cloud.google.com/compute/docs/tutorials/sending-mail/

Status: 
Closed (fixed)

Comments

Howdy -- thanks for contacting us!

You are indeed correct... GCP doesn't allow sending emails directly from it's servers.

Instead, you'd need to send any outbound email through another provider.

There's some examples of how to go about that in the document you linked to above.

bislinks's picture
Submitted by bislinks on Sat, 05/16/2020 - 10:06 Pro Licensee

Oh, no!

I didn't want to go that way.

bislinks's picture
Submitted by bislinks on Sat, 05/16/2020 - 10:07 Pro Licensee

Does that mean I have no choice but to use third party email providers on GCP????

Based on the GCP documentation, that appears to be the case.

bislinks's picture
Submitted by bislinks on Sun, 05/17/2020 - 15:54 Pro Licensee

I set up Send Grid.

Status: Fixed ยป Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.