Header_checks Probl

Discussion in 'Installation/Configuration' started by Seema, Jun 28, 2011.

  1. Seema

    Seema New Member

    Hi!
    After getting the email working I am stuck with this problem with email going to users with this in the body:

    Date: Tue, 28 Jun 2011 13:48:02 GMT
    Message-Id: <2011-06-28.32359@xxx.xxx.xxx.xxx:/.sddd>
    MIME-Version: 1.0
    Content-Type: multipart/mixed; boundary="=-=-="
    Content-Encoding: 7bit

    --=-=-=
    Content-Type: text/plain
    Content-Disposition: inline


    I changed the reference to in main.cf to:

    header_checks = regexp:/etc/postfix/maps/header_checks

    In this file (header_checks) I added the following lines:

    # Sample For Dropping Headers:
    #/^Header: IfContains/ IGNORE
    /^ Received: .*\[192\.168\.200\.[0-9]/ IGNORE
    /^Received: from/ IGNORE
    /^User-Agent:/ IGNORE
    /^Message-ID:/ IGNORE
    /^X-MIMEOLE:/ IGNORE
    /^X-Mailer:/ IGNORE
    /^X-Originating-IP:/ IGNORE

    I restarted postfix and the headers as mentioned above still appears...
    What am I missing here? :confused:

    Thanks
    Seema
     
  2. Seema

    Seema New Member

    Header_Checks

    Hello,
    Solved it!
    Thanks
    :)
     

Share This Page