What is the best way to set up domain email? I am having issues with my domain email handled by Google
First, know that I am not a coder. I have been trying to learn for a while now but walked away from this for a while. Now I’m back trying to create a new droplet and redo my sites from scratch. I follow tutorials and have managed to learn a few things along the way but not enough - so here I am.
Before I used the Ubuntu 14 with WordPress and my domain email managed by Google Suites. I don’t recall any problems getting my same domain email address to send from WordPress back then like from contact forms. This time, with Ubuntu 16, I had forgotten my WordPress admin password (turns out that I was using the wrong one - that’s what I get for working on this while tired) and tried to send email to reset it and it would not send. So, I deleted the folders and files and database and recreated the WordPress site. This time I installed a plugin to see if my email was sending from WordPress and it was but was being bounced from Google and not received in my google email app or gmail.google.com in the browser. Sorry, I didn’t think to save the message from mail.log and have since destroyed the droplet and getting ready to start fresh again.
Funny thing is, I found a tutorial on how to change the password through the MySQL command line and it changed but I was still unable to log in to my WordPress admin dashboard.
So, this is what I think I know. I believe the droplet is created with Postfix which I understand to be an MTA protocol which sends email from the server. I set up the MX record (per instructions on Google then again with the button that does it automatically in the DO dashboard) for using Google to handle my domain email (email@example.com). My domains are registered inside the Suites admin just fine. I can’t see anywhere that changing the IP address affects this but I delete one of them and redid the authorization just in case and it made no difference. I had purchased the domain name from domain.com (a few years back) and went in and stripped all records from there except directing the A record to the new IP address. This didn’t seem to make a difference either.
So, is there something I need to do within Postfix? Is Postfix default settings interfering with
Google Suites handing my email with my domain address? Is there another default app in the droplet that I need to edit to be compatible with Google handling my domain email? I’ve been searching for a couple of days now but can’t figure out what I’m missing. Thank you in advance for any help on this matter.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.