简体   繁体   中英

sending and receiving emails with GCP

I'm switching from a shared hosting provider to GCP. I have a domain name (domain.com), and on the shared hosting I just had to create a new email address in the directadmin panel, and use squirrelmail to send/receive emails.

The problem is: I don't know how to achieve this on GCP.

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

Now I'm looking for a solution so I can use the domain name (coupled to a VM) but also send/receive emails in an easy way.

Is there a (paid/free) solution I can use which isn't very difficult to install/maintain? I was thinking of creating a mailserver with postfix/postfixadmin, but GCP blocks outgoing mail so I have to use a service like sendgrid or mailgun to send email + I still need to install postfix for receiving email. But to be honest: I've never done this before and I don't find any good tutorials about this.

I have a mailgun account and I tried following this ( https://cloud.google.com/compute/docs/tutorials/sending-mail/using-mailgun ) tutorial, but the emails I'm sending are not delivered.

Is there an online service or something like that where I can couple my domain name to, to send and receive emails? I tried to google it, I googled on "external mail server" and "free mail server" but I didn't find any (good) results.

Thanks in advance!

Mailgun sounds like a good option to use, if you're still planning to use it on GCP, check that you've created a firewall rule to allow outbound traffic [1] . This step might be the reason why you're not receiving the emails.

If you need a good guide to set up a Postfix server, you might find this guide useful [2] .

I've read that you're already using G Suite [3] , this option is great and will ease the process a lot.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM