Email solution on GCP

21.1k Views Asked by At

I've had a Hostgator reseller account for over 15 years that I want to leave. I'm migrating 10 of my websites over to the Google Cloud Platform. In the past with Hostgator, setting up email accounts with POP3 and SMTP was easy. Now that I'm a noob Linux/Ubuntu admin, I have to figure out how to get the same functionality with my own mail server, or another solution. I'm running Ubuntu 18.04 on a GCP instance with a Cyberpanel install on GCP.

Have any of you guys done an install of iRedmail mail server, and could you give me your opinion of how you like it, and if it's overkill for what I'm trying to accomplish? I'm just seeking the same POP3 and SMTP easy email setup I've had with Hostgator.

I used to be a windows netadmin and on one of my Windows servers, I ran a Kerio mail server, so managing a mail server doesn't scare me. Your thoughts?

2

There are 2 best solutions below

1
Lewis On

GCP unfortunately blocks port 25 so running a mailserver is mostly out of the question, but they will let you run an SMTP relay through ports 465 or 587.

I recommend using Sendgrid or G Suite for the actual SMTP stack. You can read more about GCP and email here.

2
Martin Zeitler On

Just setup Dovecot with Postfix on GCE and run it with SSL enabled.

One can even add that as fall-back MX for a GSuite enabled domain

... that this wouldn't be supported is a mere religion, but not a fact.