I’m trying to get emails accounts setup on my droplet. I am using Woocommerce (plugin) on my Wordpress site to sell products. I created a Wordpress droplet so it automatically setup Postfix for me. I tried setting up emails from the tutorials here but when I opened postfix’s config files, I saw that Wordpress had already configured it and I don’t want to mess with that because my store sends email through Wordpress.

Here’s what I have done so far:

I'm using DigitalOcean's DNS Management, I have set:
A record for example.com set to SERVER IP.
A record for www.example.com set to SERVER IP.
A record for mail.example.com set to SERVER IP.
MX record for example.com set to mail.example.com.

I’m trying to create an email address: support@example.com to use as customer support for my store through gmail. As I am not using Google Suite, I went into my other Google Account and tried to add an email address, on the SMTP field, I entered mail.example.com, then it asked me for email and a password, I am not able to find where I should configure these, or if I’m doing the whole thing right.

Can anyone here guide me to the right path?

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.

×
1 answer

Hello,

I would recommend following the steps from this tutorial on how to setup Gmail with your domain on DigitalOcean:

https://www.digitalocean.com/community/tutorials/how-to-set-up-gmail-with-your-domain-on-digitalocean

Let me know if you have any questions!
Regards,
Bobby

by Mitchell Anicas
One way to send and receive email through your own custom domain is to use a third-party mail service, such as the mail service included with Google Apps (Gmail) or Zoho. The main benefit of using a third-party mail service, as opposed to managing your own mail server, is that you can avoid performing the ongoing maintenance that running a mail server entails. This tutorial will show you how to set up Gmail with your own domain that is managed by DigitalOcean's Domain Name Servers.
  • Hi,

    Thanks for the reply but the Tutorial you shared with me does not help. This tutorial uses Google Suite and I’m trying to use Gmail by setting up my own mail server.

    However, I figured out how to setup postfix in another tutorial from DO. I’m waiting for my DNS changes to take place so that I can test it and I’ll update my question with an answer once I’m done with it.

    Thanks,
    Nitin

Submit an Answer