Emails going straight to SPAM folder

So I’ve set up my own mail server with iRedMail on Ubuntu (20.4 I believe) to host my virtual boxes for my domain email accounts that are created as the admin, and Roundcube to send and receive the emails.

I’ve already set up my DNS records, SPF, DKIM, & DMARC, but when I try to send emails from my mail server/SMTP server, ALL messages keep going straight to the SPAM folders of my gmail recipients.

According to mxtoolbox, mail-tester, and several other sites, all of my records have been properly configured for my website. Mail-tester dot com even shows that I’m getting a 10/10 rating as far as passing spam filters goes.

So what else can I do to hit the inbox or what else could the issue be?

The domain that I’m referring to (that should have the correct DNS and other records set up) is:

aaronsnewsletters dot com

Maybe someone can do a quick test against the site to see the records and let me know what you think.

Any support is greatly appreciated.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


Email can be delivered to the recipient’s Spam or Junk folder for many different reasons. The most common reasons why emails are filtered to spam or junk folders are:

  1. Inconsistent headers

  2. PTR lookup failure / no DNS record matching PTR

  3. SPF Failure

  4. Content

While I cannot say for sure that this is the case for your email, I can provide you with some resources that should assist you with investigating this.

Sender Score

Why Do My Emails Go to Spam?

10 Tips to Keep Email Out of the Spam Folder

MXToolBox Email Delivery Tips and Tricks

I also want to make sure that we’re setting proper expectations, as we do not recommend sending mail from Droplets. Spam has become such a problem for the internet community that there are a LOT of hurdles to legitimately set up a mail server as an individual, so we typically advise people to partner with a third party like Sendgrid or Mailgun for long-term stability and deliverability.

Why You May Not Want To Run Your Own Mail Server

I hope you find these resources useful. If you have further questions, please let us know. We’re here to help!

Cheers, Sri Charan