Problem
Setup
- There is a dedicated Ubuntu 18.04 VPS.
- There is a domain "foo.com" bought via GoDaddy.
- There is a Gmail account "some.name@gmail.com".
Goal
The goal is to send a receive emails using company domain via Gmail. For example "some.name@foo.com".
Gmail allows importing and using IMAP profiles:
I would like to do the same thing as described in https://www.youtube.com/watch?v=MEheS8gM4Xs
Except for using my own VPN instead of some 3rd party tool.
Solution
I would assume one would need to:
- Install Postfix
- Install Dovecot
- Tweak GoDaddy DNS MX records
- Setup Postfix to communicate with Gmail (smtp.gmail.com)
Any ideas or clues how to achieve the goal set?