Email goes to spam in gmail [FIXED]

I have setup DKIM, spif and dmarc and used https://mxtoolbox.com site to test .

i got cleared in every test except for smtp with warning " Reverse DNS does not match SMTP Banner" but email still goes to spam please help

Have you considered fixing that error? It’s one of the most fundamental “don’t send my mail to the spam folder” things you should do.

In Webmin -> Servers -> Postfix Mail Server -> General Options, look at what you have set in “Internet hostname of this mail system”. It should be something like myserver.example.com. Submit a ticket to your server host asking for them to change the PTR DNS record for your server’s IP address to point at the name you found a second ago.

" Reverse DNS does not match SMTP Banner"

That means your reverse DNS is not setup correctly. Domain name should resolve to your IP and your IP should resolve to your domain name. The “IP to domain name”, AKA Reverse DNS, normally has to be setup by your hosting provider.

Thank you all for the reply, actually http://mxtoolbox.com was saying that my DKIM entry was correct but the issue was i added wrong hostname format into hostname section for DKIM entry and wait for a day , fixing that fixes the issue