Applicable to:
- Plesk for Linux
Symptoms
Unable to send email to Yahoo from mailbox hosted in Plesk, while receiving bounceback messages that are similar to the following:
CONFIG_TEXT: 550 5.7.25 Forward-confirmed reverse DNS failed tnmpmscs (in reply to MAIL FROM command))
The
/var/log/maillogcontains errors that are similar to the following:CONFIG_TEXT: Aug 18 09:12:56 server postfix/smtp[851082]: 248561C8C8B8: to=<example@yahoo.com>, relay=mx-eu.mail.am0.yahoodns.net[203.0.113.2]:25, delay=0.52, delays=0.02/0/0.45/0.05, dsn=5.7.25, status=bounced (host mx-eu.mail.am0.yahoodns.net[203.0.113.2] said: 550 5.7.25 Forward-confirmed reverse DNS failed tnmpmscs (in reply to MAIL FROM command))
The server IP address 203.0.113.2 has a PTR record that resolves to a hostname, similarly to the following:
# dig -x 203.0.113.2 + short
mail.example.com
Cause
The mail.example.com hostname (which is present in the PTR record of your server IP address), resolves to an IP address that is not configured on the Plesk server.
Since the email itself does not originate from that IP address when you are sending it, this is viewed as a significant discrepancy by Yahoo, due to which they reject the email that you are sending.
The hostname that you have selected as a PTR record for your server's IP address must always resolve to the server's IP address and no other IP addresses.
Note: Having additional IP addresses associated to the A records for the same hostname can also lead to inconsistencies during reverse DNS validation and reputation checks performed by receiving mail providers.
Resolution
You have two general options to resolve such an issue:
Contact the owner of the IP address from which your server sends email (usually your server provider) and change the hostname you use for the PTR record to another hostname that resolves only to your server IP address.
The hostname referenced by the PTR record should preferably resolve back only to the mail server's IP address, so you must go to the primary DNS zone of the domain that is tied to the hostname and adjust the A record for the hostname in order to make it point your server's IP address
Comments
Please sign in to leave a comment.