Question

New Droplet, Could New IP Be Blocked By Gmail?

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

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

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

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!