Emails sent to spam

April 12, 2018 262 views
Email Ubuntu 16.04

I installed VestaCP on one of my droplets, and registered a test domain on Freenom to see if DNS and mail worked. Well, they do, but Gmail sends them straight to spam, and other email providers don't... The IP is all good and not on any blacklists, and I have DKIM, DMARC, and SPF all set up. I set Exim to listen on the hostname smtp.mydomain.com with an LE cert, Dovecot imap.mydomain.com, also an LE cert, and my droplet hostname as hosting.mydomain.com with a PTR record for the same. Is there anything I'm missing?

1 Answer
ryanpq MOD April 12, 2018
Accepted Answer

It really does sound like you have your bases covered. How long after you created your DNS records did you test things. I am wondering if it's possible that the SPF hadn't propagated.

While our team works to maintain a clean IP pool it is also possible that a previous droplet assigned that IP got itself blacklisted somewhere. You can check your IP status on various lists here.

The fact that these messages are not flagged as spam by other providers makes me think that Google is flagging your test messages based on their content or the IP is in a google list (though google tends to block SMTP rather than sending mail to spam in these cases from what I've seen).

  • All the records have been propagated (confirmed by Google Dig). The IP shows as good in that test too.

  • Oh wow, I guess it was something to do with propagating. I waited about an hour or two and now the emails are accepted by Google! Thanks!

Have another answer? Share your knowledge.