Question

New Droplet, Could New IP Be Blocked By Gmail?

Posted October 15, 2021 143 views
WordPress

Hello, I had a Droplet for about 3 years, I needed to create a new one since the older ones were not in a VPC by default, I created a snapshot of older one, created new droplet with snapshot, Updated all DNS records, SFP, PRT Records, MX records etc, never had issues with the previous droplet sending emails with my WP site, now I get “ The IP you’re using to send mail is not authorized to ” error.

The issue is only when sending directly from server email to the gmail account. I can send to any other email, receive from another domain, or even from my site with no problem, but will not work to gmail address. I did check and its listed on 2 Blacklist site : Spamhaus ZEN & UCEPROTECTL3, im wondering should I just create a new droplet with new IP? I have been with this issue for 2 days. Thank You

Using Plesk and Wordpress Install

Thanks

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.

×
Submit an Answer
3 answers

Hello there,

DigitalOcean is not a dedicated email host and does not have a postmaster to maintain our IP reputation. As a result, some DigitalOcean IP ranges are blacklisted. We do not recommend sending mail from our platform directly and we will not request delisting. We will not prevent you from sending mail, but you will be at the mercy of the IP reputation if you choose to do so. Here are some possible workarounds if you choose this route:

  1. Request delisting from the blacklist provider when possible. If you are receiving bouncebacks due to the blacklist, the error message usually includes a link that shows you where you can submit a delist request.

  2. Snapshot and create a new Droplet for a new IP address. Note that this does not guarantee you won’t run into the same issues due to the reasons previously discussed. If you’d like to redeploy for a new IP, please follow this guide:

How to Migrate Droplets Using DigitalOcean Snapshots

https://www.digitalocean.com/docs/images/snapshots/how-to/migrate-droplets/

If you must send mail, we suggest partnering with a mail relay provider like SendGrid or Mailgun, etc. These providers already have relationships with real-time blacklist aggregators (RBLs) like SORBS and Spamhaus and have a postmaster that works to ensure their reputation is kept clean. These links have some additional information:

Why You May Not Want To Run Your Own Mail Server

https://www.digitalocean.com/community/tutorials/why-you-may-not-want-to-run-your-own-mail-server

Droplet Limits

https://www.digitalocean.com/docs/droplets/#limits

Please keep in mind that an active listing does not guarantee that you will have issues sending mail. Additionally, blacklists are often dynamic and will change over time, for better or for worse. If you are having sending issues, please provide any bouncebacks you have received and we will be happy to go over them with you.

I hope it helps!

by Mitchell Anicas
When setting up a web site or application under your own domain, it is likely that you will also want a mail server to handle the domain's incoming and outgoing email. While it is possible to run your own mail server, it is often not the best option for a variety of reasons. This guide will cover many of the reasons that you may not want to run your own mail server, and offer a few alternatives.
  • Thank You, I will try with a new droplet. The WP install includes postfix and then Plesk handles the backend, not sure if that is considered using the Droplet as a mail server. Thanks Much again..

Hello, @roman99

What I could suggest here is using an SMTP plugin for your WordPress site.

That way you will be able to specify an SMTP server with authentication which your emails would be going through. You could for example use Gmail’s SMTP settings. This would drastically increase the delivery rate of your emails as well compared to using plain PHP mail.

I’ve been using this plugin for a while now and it works very well: Easy WP SMTP

Hope that this helps!
Regards,
Alex

Update:

So I created a new droplet from the same original snapshot I never deleted, got new IP address and all works just as before. I submit thru contact box on my site, and it goes into my gmail without any issue, from email shows from my domain so its going thru. If anyone else is reading this and has the same issue, test and see if you ip is on Spamhauns or similar, that might be the issue…

  • Hello, @roman99

    I’m glad that you’ve sorted the issue. Keep in mind that the mail reputation of the IP address may change, so make sure to keep an eye on it.

    Regards,
    Alex