• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Mail server in plesk does not send to gmail

andre_c

New Pleskian
Server operating system version
Ubuntu 22.04.2 LTS
Plesk version and microupdate number
18.0.52
Hello, I'm looking for help on how to solve the problem encountered
on 550-5.7.25 PTR record setup


LOG:

to=<[email protected]>, relay=gmail-smtp-in.l.google.com[108.177.119.27]:25, delay=0.67, delays=0.06/0.02/0.18/0.42, dsn=5.7.25, status=bounced (host gmail-smtp-in.l.google.com[108.177.119.27] said: 550-5.7.25 [195.20.225.18] 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 Prevent mail to Gmail users from being blocked or sent to spam - Gmail Help for more 550 5.7.25 information. b26-20020a170906039a00b009618d4710f6si344873eja.552 - gsmtp (in reply to end of DATA command))
 
Have you seen this guide?

Yes, i add a reverse dns on 13/05 and today i follow this step

There is no DNS PTR record for the sender's IP address:

# dig @8.8.8.8 +short example.com
203.0.113.2
# dig -x 203.0.113.2 +short
(Empty output or it resolves to a domain that doesn't resolve to the sender's IP address)
 

Attachments

  • 2023-05-21_113736.png
    2023-05-21_113736.png
    42.6 KB · Views: 37
  • 2023-05-21_114330.png
    2023-05-21_114330.png
    18.1 KB · Views: 33
Yes, i add a reverse dns on 13/05 and today i follow this step

There is no DNS PTR record for the sender's IP address:

# dig @8.8.8.8 +short example.com
203.0.113.2
# dig -x 203.0.113.2 +short
(Empty output or it resolves to a domain that doesn't resolve to the sender's IP address)
This is dns lookup ptr record
 

Attachments

  • 2023-05-21_121015.png
    2023-05-21_121015.png
    24.2 KB · Views: 22
The PTR record should resolve to the server name:

xxx.xxx.xxx.xxx.in-addr.arpa PTR server.domain.com


The server name in Plesk is set like this:

Tools & Settings -> Server Settings -> Full hostname
 
On dns lookup ptr records this is result but i have the same problem

said: 550-5.7.25 [195.20.225.18] 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 Prevent mail to Gmail users from being blocked or sent to spam - Gmail Help
for more 550 5.7.25 information.
 

Attachments

  • 2023-05-21_125710.png
    2023-05-21_125710.png
    17.1 KB · Views: 17
@andre_c A PTR records (reverse name resolution) needs to be set at the data center. It cannot be set on the server. Normally, in your data center's back office you have an option to configure that record so that an IP address can be resolved to your server name. If you do not see that option, you could ask the data center support to set it for you.
 
The TTL of that record is set to 21600 seconds (or 6 hours). So wait at least 6 hours before testing again.

In the Gmail warning, the IP address 195.20.225.18 is the issue.
In your screenshots, the IP address ends with xx.xx.xx.5
 
I am not receiving email on gmail. on MXToolbox i am getting an error this "
Reverse DNS does not match SMTP Banner
"
 
Back
Top