Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

mail_reverse_dns wrong ptr

Discussion in 'E-mail Discussion' started by Zeth, Jan 10, 2012.

  1. Zeth

    Zeth Member

    Sep 6, 2004
    Likes Received:
    Trophy Points:
    Hello everyone,
    I've set in WHM under Exim configuration "Send mail from account’s dedicated IP". I can see that the mail_reverse_dns file is populated automatically with all the necessary ips (atleast during the nightly upcp), however the ptr's it gives for the ips are just the domain names for the account.

    So if I had for example an account with dedicated ip, then the line in mail_reverse_dns would be:

    This is ofcourse wrong because the PTR can be whatever, for example

    Does anyone know why the real PTR isn't given in this file? It is as simple as "host <dedicated_ip>". If no PTR exists, then it should use the accounts domain name.

    Is there any way of fooling cPanel to write the real PTR to this file automatically? I hate the idea of making this file immutable... one more thing to remember and update manually.

    Also note that I cannot get the PTR's to be in domainname.ext format because the system which the owner of ip addresses uses doesn't allow this. Allowed format is somename.domainname.ext.

    Any ideas are welcome :)
    #1 Zeth, Jan 10, 2012
    Last edited: Jan 10, 2012

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice