summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-10-31 17:15:19 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-10-31 17:15:19 +0000
commit4a4589b3ad0d72360a30349cdcd14f939cb270a9 (patch)
treed8a3c23ac7c6a525b4ce85d7495b1eaec0d4ca33
parentHardlink cron (diff)
downloadconfig-4a4589b3ad0d72360a30349cdcd14f939cb270a9.tar.bz2
config-4a4589b3ad0d72360a30349cdcd14f939cb270a9.tar.xz
config-4a4589b3ad0d72360a30349cdcd14f939cb270a9.zip
Spam Assassin upstream latest changes
-rw-r--r--etc/spamassassin.cf20
1 files changed, 20 insertions, 0 deletions
diff --git a/etc/spamassassin.cf b/etc/spamassassin.cf
index 366f4d5..3b25f94 100644
--- a/etc/spamassassin.cf
+++ b/etc/spamassassin.cf
@@ -58,6 +58,22 @@ bayes_path /var/lib/spamassassin/bayes
#
# normalize_charset 1
+# Textual body scan limit (default: 50000)
+#
+# Amount of data per email text/* mimepart, that will be run through body
+# rules. This enables safer and faster scanning of large messages,
+# perhaps having very large textual attachments. There should be no need
+# to change this well tested default.
+#
+# body_part_scan_size 50000
+
+# Textual rawbody data scan limit (default: 500000)
+#
+# Amount of data per email text/* mimepart, that will be run through
+# rawbody rules.
+#
+# rawbody_part_scan_size 500000
+
# Some shortcircuiting, if the plugin is enabled
#
ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
@@ -66,6 +82,10 @@ ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
# shortcircuiting plugin is active, causing early exit to save CPU load.
# Uncomment to turn this on
#
+# SpamAssassin tries hard not to launch DNS queries before priority -100.
+# If you want to shortcircuit without launching unneeded queries, make
+# sure such rule priority is below -100. These examples are already:
+#
# shortcircuit USER_IN_WHITELIST on
# shortcircuit USER_IN_DEF_WHITELIST on
# shortcircuit USER_IN_ALL_SPAM_TO on