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!

How to hide server primary IP form outgoing mail

Discussion in 'E-mail Discussion' started by NetPrefire, Jul 18, 2014.

  1. NetPrefire

    NetPrefire Registered

    Joined:
    Jul 18, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I'm using Gmail SMTP for sending auto generated emails to my customers on my dedicated server with cPanel.

    Our emails contain primary IP address of our server. Will following solution work for hiding my server main IP?

    Buying a secondary server and set it up as my mail server and add its details in Google MX records in DNS settings.

    Then add following comments to my main server exim.conf just below driver = smtp "headers_remove = Received"


    Please share your ideas
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,928
    Likes Received:
    1,817
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you elaborate on why you prefer to hide the IP address for outgoing email? This might allow us to provide you with an alternate solution.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. NetPrefire

    NetPrefire Registered

    Joined:
    Jul 18, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Thank you for your reply. Because of DDoS attacks and other security reasons.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,928
    Likes Received:
    1,817
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    It's likely better to address the DDOS attack directly. Your hostname or IP address is always going to be visible in the email header. It's one of the best ways for mail servers track and prevent SPAM. You may want to consult with a qualified security expert to help prevent the DDOS attacks as they occur.

    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