Follow these steps to setup a virtual server in GCP that you can use to setup a custom email account. For example: [email protected]
Customer recently expirienced a migration with their GoDaddy account. Godaddy is no longer offering email servers and they are shifting all their customers to MS Office 365 for a fee where as before it was free. We've been receiving many complains from Godaddy customers and their migration efforts. This tutorial helps you get an email server on Google Cloud Platform.
1. Create an email account in the ISPConfig Control Panel. Email > Email Accounts > Email Mailbox > Add new Mailbox
28-p4983-1-ispconfig-email-mailbox.jpg
2. Populate the fields and click save.
28-p4983-2-ispconfig-mailbox.jpg
3. To enable Catch All, go to Email Accounts > Email CatchAll and Click on the "Add new Catchall" button.
28-p4983-3-ispconfig-catchall.jpg
4. Catch All Form: Populate the following:
5. now that you have your email settings, go to Email Accounts > Email Mailbox and open the email client by clicking on the envelope icon, for this example, I will be using SquirelMail.
28-p4983-5-ispconfig-email-client.jpg
6. Login with your email and password you setup in step 2.
7. You can now access your email account through Squirmail
28-p4983-7-ispconfig-email-squirrelmail.jpg
1. Login to your Google Cloud Account: example URL: https://console.cloud.google.com/networking/firewalls/list?project=[PROJECT ID]
2. Click on Create Firewall Rule (See previous image)
3. Set the following Field Values:
4. Now your firewall rules should look something like this:
28-p4983-1-google-cloud-platform-firewall-rules.jpg
1. Login to you Mailjet account and and go to the settings dashboard. https://app.mailjet.com/account
2. Go to the Senders & Domains card:
Before you go to the DNS settings, be sure you have an API key and its secret key, you have setup the domain and have created and validated a senders domain address. Also make sure you to note the "IN TXT" value.
Your settings should now look like this:
28-p4983-5-mailjet-senders-domains-card.jpg
1. Login to you CloudFlare account and select the domain name for your email adress.
2. Go to the DNS Settings and add a MX record with the following properties:
MX Record:
TXT Record for MailJet
Set Up Your Existing Email Address To use your current email address fill in your credentials. Thunderbird will automatically search for a working and recommended server configuration.
1. File > New > Existing mail Account..
2.Complete the form:
28-p4983-2-thunderbird-settings-email.jpg
3. DO NOT CLICK ON CONTINUE! Instead, click on "Configure manually"
4. Under manual configuration, provide the following:
OUTGOING SERVER - Google Cloud automatically blocks all outgoing email traffic on port 25 SMTP.
IMPORTANT: You will not be able to use this account to send outgoing emails, only incoming.
Click Done.
NOTE: for the SMTP settings, you can change these settings to the following by going into the account settings in Thunderbird:
UPDATE: please not on this picture, the username is not the API SECRET KEY, but just the API Key.
28-p4983-6-mailjet-smtp-settings-in-thunderbird.jpg
The following picture shows the form in thunderbird when I was adding the account.
28-p4983-4-thunderbird-server-settings-email.jpg
I confirmed I was able to fetch my emails from the ispconfig server in the google cloud. but unable to send emails. Next> will figure out a way to send emails with relay service? or smtp provider.
Resources: