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!

Remove info from email headers

Discussion in 'E-mail Discussion' started by tdot, Nov 21, 2017.

  1. tdot

    tdot Active Member

    Joined:
    Nov 2, 2017
    Messages:
    29
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Is there a way to remove sensitive info from email headers in Exim as you can with postfix?

    Postfix example
    Code:
    /etc/postfix/header_checks:
    /^Received:.*with ESMTPSA/  IGNORE
    /^X-Originating-IP:/    IGNORE
    /^X-Mailer:/            IGNORE
    /^Mime-Version:/        IGNORE
    /etc/postfix/main.cf:
    Code:
    mime_header_checks = regexp:/etc/postfix/header_checks
    header_checks = regexp:/etc/postfix/header_checks
    Code:
    postmap /etc/postfix/header_checks
    postfix reload
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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