I have followed the instructions in
i have tested my spam score in
and i got 10 out of 10 as my score because i have set up the DKIM, SPF, _DMRAC, valid MX host, and valid TLS encryption.
i sent an email from my DO server to my gmail & zoho account and it didnt go to spam folder. Yet, when I sent it to my yahoo & hotmail account, it went to spam folder.
Is there anything that particular about yahoo and hotmail? What set up so I can pass the spam filter in their system?
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.
@ganiszulfa
Do you have a valid PTR (Reverse DNS) record?
PTR records are created for your Droplet during deployment, though can be modified by changing the name of your Droplet post-deployment.
For example, if you deployed a Droplet named
mail
, the PTR record is not valid. If you named your Dropletmail.yourdomain.ext
, a FQDN/FQHN, your PTR record will be valid. This is the only way to setup a PTR record with DigitalOcean for the time being and the documentation doesn’t actually put this out there.The same applies for any Droplet, whether it’s a web/database server, proxy server, etc. You can set a valid PTR record by just changing the name of the Dropet.
Valid Droplet Name Examples
Invalid Droplet Name Examples
Where
domain.ext
is your domain (ext
= extension – .com, .net, etc).Once the PTR is set, make sure you’ve set the hostname to match from the CLI using
hostname
.i.e.
Where
mail.domain.ext
is the same as the [new] name of your Droplet (as per my examples).Even though for web, database, proxy, and similar servers, a valid PTR may not do much, when it comes to mail servers, it needs to be valid.
About the only time I don’t bother is when setting up a VPN.
There’s no clear answer, since they would never directly tell about their spam-filters.
Is it a new domain? Have you sent a lot of emails over the past three months (define a lot)? And to the Yahoo/Microsoft domains?