The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to hide server primary IP form outgoing mail

Discussion in 'E-mail Discussions' 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:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    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.
     
  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:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    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.
     
Loading...

Share This Page