PTR checks the domain IP address to validate sender address.
But against what? the SMTP HELO hostname?
Or against email domain?
for example if I send an email from john@domain1.com from a SMTP server with domain domain2.com
Is PTR check performed for domain1.com or domain2.com?

Shared Hosting panels(e.g. CPanel) documentation says only set PTR for hosts main domain and not for every vhost.
in this case checking against email's domain will fail But this also means anyone can send email for any vhost (also vhosts which are not on my NS) if their server has correct PTR for itself but not for vhost


PTR is the short form of the word pointer. This assigns a domain to a specific IP address - or in other words: the PTR record "points" to the IP address.

This process is known as reverse mapping, because the query is usually done in reverse. The check will be performed for the domain of the mail adress (domain1.com) and therefore, will give an error -> because the IP adress will not be valid (points to another domain).

Correctly set reverse mapping is absolutely essential for reliable operation of a mail server.

|improve this answer|||||
  • So why shared hosts only set server's hostname PTR and not for each vhost? is this incorrect? – RYN Feb 23 at 21:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for?Browse other questions tagged or ask your own question.