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!

Send Email from Dedicated IP with rDNS

Discussion in 'E-mail Discussion' started by EneTar, May 20, 2019.

  1. EneTar

    EneTar Well-Known Member

    Joined:
    Dec 19, 2015
    Messages:
    146
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    I have "Send mail from the account’s IP address" enabled at WHM -> Exim configuration. I also have assigned a for a few websites dedicated IPs. (Every user has its own) Should I set the Reverse DNS for each IP pointing to the domain of the user? Will it help with email deliverability?

    In How to Keep your Email Out of the Spam Folder - cPanel Knowledge Base - cPanel Documentation it states
    What if a user has 2 domains a primary and an addon? Where should the rDNS point out?
     
  2. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,464
    Likes Received:
    180
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. EneTar

    EneTar Well-Known Member

    Joined:
    Dec 19, 2015
    Messages:
    146
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    From How to Configure the Exim Outgoing IP Address - cPanel Knowledge Base - cPanel Documentation if "Send mail from the account’s IP address" is enabled it overrides any manual changes at /etc/mailhelo and /etc/mailips. I want to have this option enabled so that each user's email is routed through it's own IP.

    The same page says:
    So assuming example.com has a dedicated ip address xx.yy.zz.ww should I set the rDNS as example.com? or something like mail.example.com ? If I point the rDNS at example.com. then MXToolbox complaints that the rDNS is not a valid hostname
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,296
    Likes Received:
    2,155
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @EneTar,

    It's generally advised to configure the RDNS record of the IP address used to send email to the server's hostname. However, if you have configured Exim to send email from a domain's dedicated IP address, ensure the RDNS records for the dedicated IP address point to the individual domain name (e.g. domain.tld and not host.name.tld or mail.domain.tld).

    The MXToolBox warning is likely a false positive.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. EneTar

    EneTar Well-Known Member

    Joined:
    Dec 19, 2015
    Messages:
    146
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    1) Shouldn't the RDNS be a valid hostname meaning a FQDN? domain.tld is not a FQDN but host.domain.tld or www.domain.tld or mail.domain.tld seem to be FQDNs.

    2) Is there any advantage using domain.tld as you suggest for rDNS instead of mail.domain.tld?

    3) Moreover what about the addon domains on accounts with dedicated IPs? Where should the rDNS point out? I guess at the primary domain. But what does this mean for the email deliverability of the addon domain?
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,296
    Likes Received:
    2,155
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I recommend voting and adding feedback to the following feature request if you'd like to see an improved method of defining the HELO name for outgoing email:

    An option to use actual reverse DNS resolution as HELO for outbound email.

    The server's hostname should be a fully qualified domain name (e.g. server.domain.tld), but the RDNS entry for a domain's dedicated IP address can be "domain.tld" as long as it's the only domain using that dedicated IP address for sending email.

    The RDNS entry for the domain's dedicated IP address should match the domain name utilized in the /etc/mailhelo file.

    If an account with a dedicated IP address sends email from multiple domains, then enabling the Send mail from account's dedicated IP address option is not recommended.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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