Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-17-2010, 11:42 PM
Member
 
Posts: 11
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
Reply With Quote
  #2 (permalink)  
Old 01-20-2010, 07:46 PM
Moderator
 
Posts: 7,928
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
__________________
Reply With Quote
  #3 (permalink)  
Old 01-21-2010, 12:28 AM
Member
 
Posts: 11
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
Reply With Quote
  #4 (permalink)  
Old 01-21-2010, 05:10 AM
Moderator
 
Posts: 7,928
Default

Does postfix_header_checks include your changes after you restarted with
Code:
su - zimbra
zmmtactl stop ; zmmtactl start
__________________
Reply With Quote
  #5 (permalink)  
Old 01-24-2010, 11:09 PM
Member
 
Posts: 11
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
Reply With Quote
  #6 (permalink)  
Old 07-29-2010, 02:16 PM
New Member
 
Posts: 4
Default

Regex and Postfix_header_checks.in Not working

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 =
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.