Results 1 to 6 of 6

Thread: Postfix header checks dont work after upgrading from 6.0.2 to 6.0.4

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuttgart Germany
    Posts
    11
    Rep Power
    6

    Default Postfix header checks dont work after upgrading from 6.0.2 to 6.0.4

    Dear all,

    since upgrading from 6.0.2 to 6.0.4 the postfix header checks (to be able to keep sensible data out of mail headers) dont work anymore.
    I have updated the /opt/zimbra/conf/postfix_header_checks.in with the same information as before.

    Code:
    /^X-Originating-IP.*/ IGNORE
    /^X-Mailer.*/ IGNORE
    /^X-Virus-Scanned.*/ IGNORE
    that worked fine before upgrading.
    Do you have any suggestions or tips to solve this problem?

    Regards

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    What does the following show
    Code:
    su - zimbra
    zmlocalconfig postfix_header_checks
    When I look under /opt/zimbra/conf I see
    Code:
    -r--r----- 1 zimbra zimbra   240 Jan 16 05:20 postfix_header_checks
    -rw------- 1 zimbra zimbra 12288 Jan 16 05:20 postfix_header_checks.db
    -r--r--r-- 1 zimbra zimbra   488 Dec 14 20:47 postfix_header_checks.in
    so the presence of the .db would suggest you then need to do
    Code:
    su - zimbra
    cd /opt/zimbra/conf
    postmap postfix_header_checks

  3. #3
    Join Date
    Sep 2009
    Location
    Stuttgart Germany
    Posts
    11
    Rep Power
    6

    Default

    Dear uxbod,

    thank you for your answer.

    Quote Originally Posted by uxbod View Post
    What does the following show
    Code:
    su - zimbra
    zmlocalconfig postfix_header_checks
    Code:
    :~/conf$ zmlocalconfig postfix_header_checks
    postfix_header_checks = pcre:${zimbra_home}/conf/postfix_header_checks
    in this file the same content is in it as in postfix_header_checks.in

    Quote Originally Posted by uxbod View Post
    When I look under /opt/zimbra/conf I see
    Code:
    -r--r----- 1 zimbra zimbra   240 Jan 16 05:20 postfix_header_checks
    -rw------- 1 zimbra zimbra 12288 Jan 16 05:20 postfix_header_checks.db
    -r--r--r-- 1 zimbra zimbra   488 Dec 14 20:47 postfix_header_checks.in
    so the presence of the .db would suggest you then need to do
    Code:
    su - zimbra
    cd /opt/zimbra/conf
    postmap postfix_header_checks
    that leads to nothing, the *.db file is not updated when doing a postmap or even if i do a postfix reload.

    Regars
    Simon

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Does postfix_header_checks include your changes after you restarted with
    Code:
    su - zimbra
    zmmtactl stop ; zmmtactl start

  5. #5
    Join Date
    Sep 2009
    Location
    Stuttgart Germany
    Posts
    11
    Rep Power
    6

    Default

    Quote Originally Posted by uxbod View Post
    Does postfix_header_checks include your changes after you restarted with
    Code:
    su - zimbra
    zmmtactl stop ; zmmtactl start
    yes, after restarting via zmmtactl the postifx_header_checks is containing the wanted steps:

    Code:
    #/filename=\"?(.*)\.()\"?$/
    #	REJECT For security reasons we reject attachments of this type
    #/^\s*Content-(Disposition|Type).*name\s*=\s*"?(.+\.())"?\s*$/
    #	REJECT Attachment type not allowed. File "$2" has the unacceptable extension "$3"
    
    /^Received: from.*\.tele-consulting\.*/ IGNORE
    /^Received: from.*squirrel*/ IGNORE
    /^X-Originating-IP.*/ IGNORE
    /^X-Mailer.*/ IGNORE
    /^X-Virus-Scanned.*/ IGNORE

  6. #6
    Join Date
    Jul 2010
    Posts
    4
    Rep Power
    5

    Default

    http://www.zimbra.com/forums/adminis...tml#post191460

    Code:
    zimbra$ zmlocalconfig postfix_header_checks
    postfix_header_checks = pcre:${zimbra_home}/conf/postfix_header_checks
    
    # /opt/zimbra/postfix/sbin/postconf | grep header_checks
    header_checks =

Similar Threads

  1. postdrop fail to create file after upgrade to 5.0.3
    By echoadisan in forum Installation
    Replies: 23
    Last Post: 07-15-2013, 04:02 PM
  2. DMZ relay to Zimbra internal host
    By swordfish in forum Installation
    Replies: 12
    Last Post: 02-04-2009, 11:30 AM
  3. Does adding smtpd_milters to main.cf in postfix work?
    By visualsoftspace in forum Installation
    Replies: 2
    Last Post: 12-07-2007, 10:19 AM
  4. Replies: 3
    Last Post: 11-03-2007, 11:55 PM
  5. mta and postfix can not work
    By wildhuman in forum Administrators
    Replies: 3
    Last Post: 08-12-2006, 09:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •