I have a self hosted mail server on a VPS. When sending mail through an application, most of my mail is getting rejected by google. Google is giving following message about the mail.
Reporting-MTA: dns; mail.myclearmargin.com X-Postcow-Queue-ID: BAC4E881209 X-Postcow-Sender: rfc822; firstname.lastname@example.org Arrival-Date: Mon, 8 Aug 2022 00:03:09 -0700 (PDT) Final-Recipient: rfc822; email@example.com Original-Recipient: rfc822;firstname.lastname@example.org Action: failed Status: 5.7.25 Remote-MTA: dns; gmail-smtp-in.l.google.com Diagnostic-Code: smtp; 550-5.7.25 [2a02:c206:2061:6136::1] The IP address sending this message does not 550-5.7.25 have a PTR record setup, or the corresponding forward DNS entry does 550-5.7.25 not point to the sending IP. As a policy, Gmail does not accept 550-5.7.25 messages from IPs with missing PTR records. Please visit 550-5.7.25 https://support.google.com/mail/answer/81126#ip-practices for more 550 5.7.25 information. z4-20020a05640240c400b0043d9832325fsi6139125edb.541 - gsmtp
But both of my forward DNS and reverse DNS looks okay.
host mail.myclearmargin.com mail.myclearmargin.com has address 184.108.40.206 host 220.127.116.11 18.104.22.168.in-addr.arpa domain name pointer mail.myclearmargin.com.
Can anyone help me out what could be the problem?
Note: When using this command host mail.myclearmargin.com, after sometimes it also returning
connection timed out; no servers could be reached