550 5.7.25 is a permanent SMTP reply meaning gmail: sending ip has no ptr record. Gmail requires every sending IP to have a PTR record whose hostname resolves back to that IP (forward-confirmed reverse DNS). Without it, mail is blocked.
What 550 5.7.25 means
Gmail requires every sending IP to have a PTR record whose hostname resolves back to that IP (forward-confirmed reverse DNS). Without it, mail is blocked.
Common causes
You send from your own server or VPS
Most commonCloud providers do not set a PTR for you. You must set it in the provider panel.
The PTR hostname does not resolve back
CommonThe PTR says mail.example.com, but mail.example.com has no A record for that IP.
IPv6 is used without its own PTR
Less commonThe server sends over IPv6, and only the IPv4 address has reverse DNS.
How to fix 550 5.7.25
- 1
Set the PTR record
In your hosting or IP provider panel, set reverse DNS for the sending IP to a hostname you own, such as mail.yourdomain.
- 2
Add the matching A or AAAA record
Make that hostname resolve to the same IP, so forward and reverse DNS match.
- 3
Use the same name in HELO
Set your mail server HELO/EHLO name to the same hostname, then check the IP with the free blacklist and SMTP tools.
Confirm your domain is set up correctly
Most delivery failures — permanent or temporary — trace back to authentication or reputation. Run a free EmailHealth check to confirm SPF, DKIM, DMARC, blacklist status, and TLS are all healthy for your sending domain. If you send in volume, free daily monitoring will alert you before a small issue becomes a flood of bounces.