Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Email solution on GCP

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?

like image 442
Barry Durham Avatar asked Jul 04 '20 17:07

Barry Durham


People also ask

Does Google Cloud have an email service?

Choosing an email service to use Alternatively, if you are familiar with Google Workspace and are already paying for a Google Workspace account that supports email, you can set up a relay service to send email through Google Workspace. Note that Gmail and Google Workspace enforce limits for email activity.

Will Google shut down GCP?

Google is always building new data centers to handle traffic growth for their own services. GCP infrastructure wouldn't be turned off, but re-purposed for internal growth.


2 Answers

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.

like image 60
C. Lewis Avatar answered Sep 29 '22 05:09

C. Lewis


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.

like image 27
Martin Zeitler Avatar answered Sep 29 '22 06:09

Martin Zeitler