sending and receiving emails with GCP

0 votes
I'm moving to GCP from a shared hosting company. I merely needed to create a new email address in the directadmin panel and use squirrelmail to send and receive emails on the shared hosting because I have a domain name (domain.com).

The issue is that I am unsure of how to accomplish this on GCP.

I have updated the nameservers for the domain name at my hosting provider and added a new zone in the cloud DNS for the domain name (where the domain name is parked).

I'm now seeking for a solution that would allow me to use the domain name (connected to a VM) while still sending and receiving emails conveniently.

Can you recommend a (paid or free) option that isn't too complicated to setup and maintain? I had considered setting up a mailserver using postfix and postfixadmin, however GCP bans outgoing mail, so I must use a service like sendgrid or mailgun to send emails. Additionally, I must install postfix in order to receive emails. To be completely honest though, I've never done this before, and I can't seem to find any helpful tutorials online.

I tried using this instruction (https://cloud.google.com/compute/docs/tutorials/sending-mail/using-mailgun) to send emails using my mailgun account, but they are not delivered.

Is there a website or similar service that I can link my domain name to in order to send and receive emails? I attempted to find out more by searching for "external mail server" and I searched for "free mail server," but I came up empty-handed.
Nov 7, 2022 in GCP by Tejashwini
• 3,820 points
1,732 views

1 answer to this question.

0 votes

If you're still considering using Mailgun on GCP, make sure that you've set up a firewall rule to permit outbound traffic [1]. You might not be receiving the emails because of this step.
These setup instructions [2] may be helpful if you're looking for a reliable resource.
I've heard that you already use G Suite [3], in which case this option is excellent and will greatly simplify the process.

I hope this helps!

Check out our Google Cloud Certification program to learn more about GCP.

Thanks!

answered Nov 8, 2022 by Ashwini
• 5,430 points

Related Questions In GCP

0 votes
1 answer

What are the libraries and tools for cloud storage on GCP?

At the center level, XML API and ...READ MORE

answered Oct 7, 2019 in GCP by Sirajul
• 59,230 points
1,956 views
0 votes
1 answer

What are the limitations associated with sharing storage resources in GCP?

Sharing storage resources has the following restrictions: It's ...READ MORE

answered Oct 18, 2019 in GCP by Sirajul
• 59,230 points
755 views
0 votes
1 answer

Import an Instance with custom settings on GCP

Run the following command: gcloud compute instances import ...READ MORE

answered Oct 22, 2019 in GCP by Sirajul
• 59,230 points
974 views
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Changing Machine Instance on GCP

There is no direct method to change ...READ MORE

answered Aug 1, 2018 in GCP by kurt_cobain
• 9,350 points
645 views
0 votes
1 answer
0 votes
1 answer

In GCP share a VPN gateway with other projects

You must consider the following factors: Cost: It ...READ MORE

answered Nov 8, 2022 in GCP by Ashwini
• 5,430 points
806 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP