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!

The system sends this domain’s outgoing mail from a private IP address

Discussion in 'E-mail Discussion' started by BlueSpark, May 8, 2019.

  1. BlueSpark

    BlueSpark Registered

    Joined:
    May 8, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Mexico
    cPanel Access Level:
    Root Administrator
    I have a problem with Email Deliverability

    I try create a rDNS but the system says:

    The system sends this domain’s outgoing mail from a private IP address, “xxx.xx.xx.xxx”. Reverse DNS does not work with private IP addresses because DNS does not store PTR records for them.

    The server is on AWS, and when I try to change IP on WHM to my Elastic IP (public IP) in AWS the whole server falls.

    I need this to prevent my emails from getting spam

    I hope someone can help me to resolve this problem.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,325
    Likes Received:
    2,157
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @BlueSpark,

    Can you confirm if the /var/cpanel/cpnat file exists on this server? You can check by executing the following command while logged in via SSH (Terminal) as root:

    Code:
    cat /var/cpanel/cpnat
    If the file exists and is setup properly, the output of the above command should display the private IP address and public IP address on a single line. If it does not exist, run the following command to automatically populate this file with the correct IP addresses:

    Code:
    /usr/local/cpanel/scripts/build_cpnat
    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