summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Wilde <wilde@intevation.de>2009-11-26 15:01:18 (GMT)
committerSascha Wilde <wilde@intevation.de>2009-11-26 15:01:18 (GMT)
commit06408b8ee59965ffc1e9750473f92c57c952bd7b (patch)
tree6f1370cf54c2760d0b246bdce2e664a6bf8e65d8
parent6492fbc683cd667ea3a9a2a11df57adb7bf81d3f (diff)
downloadkolab-conf-06408b8ee59965ffc1e9750473f92c57c952bd7b.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 f202b1a..03911aa 100644
--- a/conf/templates/main.cf.template.in
+++ b/conf/templates/main.cf.template.in
@@ -181,4 +181,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