summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Wilde <wilde@intevation.de>2009-06-18 15:45:39 (GMT)
committerSascha Wilde <wilde@intevation.de>2009-06-18 15:45:39 (GMT)
commit5d9b53057c18bb7059cd773cc8ab4e8e45425789 (patch)
treecd6ac59b066cfb1d6203936c5b14c08d08f4b40b
parent918f3bd2a001fe7995ffcec3e69984242932b20f (diff)
downloadkolab-conf-2.2-feature-suc.tar.gz
Merged changes from 2.2.2 release.2.2-feature-suc
-rw-r--r--conf/templates/clamd.conf.template.in27
-rw-r--r--conf/templates/main.cf.template.in4
-rw-r--r--conf/templates/master.cf.template.in2
3 files changed, 26 insertions, 7 deletions
diff --git a/conf/templates/clamd.conf.template.in b/conf/templates/clamd.conf.template.in
index a530e65..1caae23 100644
--- a/conf/templates/clamd.conf.template.in
+++ b/conf/templates/clamd.conf.template.in
@@ -121,6 +121,26 @@ FixStaleSocket yes
# Default: 120
#ReadTimeout 300
+# This option specifies the time (in seconds) after which clamd should
+# timeout if a client doesn't provide any initial command after connecting.
+# Default: 5
+#CommandReadTimeout 5
+
+# This option specifies how long to wait (in miliseconds) if the send buffer is full.
+# Keep this value low to prevent clamd hanging
+#
+# Default: 500
+#SendBufTimeout 200
+
+# Maximum number of queued items (including those being processed by MaxThreads threads)
+# It is recommended to have this value at least twice MaxThreads if possible.
+# WARNING: you shouldn't increase this too much to avoid running out of file descriptors,
+# the following condition should hold:
+# MaxThreads*MaxRecursion + (MaxQueue - MaxThreads) + 6< RLIMIT_NOFILE (usual max is 1024)
+#
+# Default: 100
+#MaxQueue 200
+
# Waiting for a new job will timeout after this time (seconds).
# Default: 30
#IdleTimeout 60
@@ -144,7 +164,7 @@ FixStaleSocket yes
#FollowFileSymlinks yes
# Perform a database check.
-# Default: 1800 (30 min)
+# Default: 600 (10 min)
#SelfCheck 600
# Execute a command when virus is found. In the command string %v will
@@ -342,11 +362,6 @@ User @clamav_rusr@
# Default: yes
#ScanArchive yes
-# Use slower but memory efficient decompression algorithm.
-# only affects the bzip2 decompressor.
-# Default: no
-#ArchiveLimitMemoryUsage yes
-
# Mark encrypted archives as viruses (Encrypted.Zip, Encrypted.RAR).
# Default: no
#ArchiveBlockEncrypted no
diff --git a/conf/templates/main.cf.template.in b/conf/templates/main.cf.template.in
index 8fa46ec..b971817 100644
--- a/conf/templates/main.cf.template.in
+++ b/conf/templates/main.cf.template.in
@@ -55,6 +55,10 @@ masquerade_domains = @@@postfix-mydestination|join( )@@@
masquerade_classes = envelope_sender, envelope_recipient,
header_sender, header_recipient
+# See kolab/issue3549 (append_dot_mydomain allows circumventing kolabfilter-verify-from-header)
+append_dot_mydomain = no
+remote_header_rewrite_domain = domain.invalid
+
# smtp daemon
#smtpd_banner = $myhostname ESMTP $mail_name
@@@if bind_any@@@
diff --git a/conf/templates/master.cf.template.in b/conf/templates/master.cf.template.in
index ccff4d5..bfbdcea 100644
--- a/conf/templates/master.cf.template.in
+++ b/conf/templates/master.cf.template.in
@@ -48,7 +48,7 @@ scache unix - - n - 1 scache
#ifmail unix - n n - - pipe flags=F user=ftn argv=@bindir@/ifmail -r $nexthop ($recipient)
#bsmtp unix - n n - - pipe flags=Fq. user=foo argv=@bindir@/bsmtp -f $sender $nexthop $recipient
@@@bind_addr@@@:465 inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
-post-cleanup unix n - n - 0 cleanup -o virtual_alias_maps=
+post-cleanup unix n - n - 0 cleanup -o virtual_alias_maps= -o masquerade_domains=
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes