Cannot send email: The IP address sending this message does not have a 550-5.7.25 PTR record setup

I keep getting this warning when I try to send email to gmail.
Thank you for your interest

host gmail-smtp-in.l.google.com[173.194.76.26] said:
    550-5.7.25 [185.197.251.225] The IP address sending this message does not
    have a 550-5.7.25 PTR record setup, or the corresponding forward DNS entry
    does not 550-5.7.25 point to the sending IP. As a policy, Gmail does not
    accept messages 550-5.7.25 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.
    i18-20020adfded2000000b002fab5c5951bsi10133056wrn.805 - gsmtp (in reply to
    end of DATA command)

Hello @maxwell

Add a PTR record where you purchased the server - mail.primarydomain.com see this How to set rDNS in Cyberpanel - #2 by josephgodwinke

add SPF with your server IP if you’re using Cloudflare

i installed a fresh OS and using Cloudflare solved the problem, thank you @josephgodwinke @Zer01ne

1 Like

glad to hear that.

1 Like