thomas: server/kolabd/kolabd/templates header_checks.template.in, NONE, 1.1 main.cf.template.in, 1.18, 1.19
cvs at kolab.org
cvs at kolab.org
Wed Mar 5 18:13:17 CET 2008
Author: thomas
Update of /kolabrepository/server/kolabd/kolabd/templates
In directory doto:/tmp/cvs-serv15216/kolabd/kolabd/templates
Modified Files:
main.cf.template.in
Added Files:
header_checks.template.in
Log Message:
Add postfix header_checks
Fixes kolab/issue2350 (Email from buggy Lotus notes client not accepted by
Cyrus) and filter some MUA headers to not allow receiving mails which are
already marked as read, flagged, etc.
--- NEW FILE: header_checks.template.in ---
KOLAB_META_START
TARGET=@emailserver_confdir@/header_checks
PERMISSIONS=0640
OWNERSHIP=@emailserver_tables_usr@:@emailserver_grp@
KOLAB_META_END
# this file is automatically written by the Kolab config backend
# manual additions are lost unless made to the template in the Kolab config
# directory
# The template is @sysconfdir@/kolab/templates/header_checks.template
# Cyrus does not like empty Message-Id: headers, see kolab/issue2350
/^Message-Id:[[:space:]]*$/ IGNORE
# Do not allow receiving mails which are already marked as read, flagged, etc.
/^Status:/ IGNORE
/^X-Status:/ IGNORE
/^X-Label:/ IGNORE
Index: main.cf.template.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/templates/main.cf.template.in,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- main.cf.template.in 12 Dec 2007 14:38:49 -0000 1.18
+++ main.cf.template.in 5 Mar 2008 17:13:15 -0000 1.19
@@ -85,6 +85,13 @@
# Don't parse and modify headers of message/rfc822 attachments
disable_mime_input_processing = yes
+# enable header_checks (not for attachment headers):
+header_checks = regexp:@emailserver_confdir@/header_checks
+# disable_mime_input_processing = yes already implies that attachment headers
+# are not being checked, but just to be sure:
+mime_header_checks =
+nested_header_checks =
+
## only use local_transport or a higher recipent_limit if issue825 is fixed
# local delivery, not using postfix local(8)
#local_transport = kolabmailboxfilter
More information about the commits
mailing list