summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Wilde <wilde@intevation.de>2009-11-26 14:54:14 (GMT)
committerSascha Wilde <wilde@intevation.de>2009-11-26 14:54:14 (GMT)
commita88a20a1d2684e6085a80c1189ae950853ad012d (patch)
treeb26c4bc8005dbda8c4aae940fb7e98ccbd824cd5
parent35e3e00fc2bbee6e7e14e2641814dd360ccef745 (diff)
downloadkolab-conf-a88a20a1d2684e6085a80c1189ae950853ad012d.tar.gz
Disallow NUL in mails. kolab/issue3594
-rw-r--r--conf/templates/main.cf.template.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/templates/main.cf.template.in b/conf/templates/main.cf.template.in
index b971817..c93b292 100644
--- a/conf/templates/main.cf.template.in
+++ b/conf/templates/main.cf.template.in
@@ -180,4 +180,8 @@ broken_sasl_auth_clients = yes
# useful for checking authentication status esp. when using dynamic IPs for the sending client and doing authorization
smtpd_sasl_authenticated_header = yes
+# Verbatim NUL bytes violate RfC 2822 and later and dont work with IMAP.
+# So we reject messages containing them (see kolab/issue3594).
+message_reject_characters = \0
+
content_filter = kolabfilter