X-Git-Url: https://dehnerts.com/gitweb/?a=blobdiff_plain;f=local.cf;h=72605b2582f841ae8da0b7c3fa64b832d20d07fe;hb=15f5528d57cc8c6ed567fc7d0da0a44f5321f2fa;hp=cfe12b2d912e7fea8ca2881f34f93c0a28cc244e;hpb=5b0137bc905318351e3cd6c348d6c3e5fe4e03a5;p=sysconfig%2Fspamassassin.git diff --git a/local.cf b/local.cf index cfe12b2..72605b2 100644 --- a/local.cf +++ b/local.cf @@ -7,6 +7,11 @@ # ########################################################################### +# A 'contact address' users should contact for more info. (replaces +# _CONTACTADDRESS_ in the report template) +# report_contact youremailaddress@domain.tld + + # Add *****SPAM***** to the Subject header of spam e-mails # # rewrite_header Subject *****SPAM***** @@ -15,7 +20,7 @@ # Save spam messages as a message/rfc822 MIME attachment instead of # modifying the original message (0: off, 2: use text/plain instead) # -report_safe 0 +# report_safe 1 # Set which networks or hosts are considered 'trusted' by your mail @@ -66,6 +71,27 @@ endif whitelist_from SpamQuarantine@mit.edu +# Whether to decode non- UTF-8 and non-ASCII textual parts and recode +# them to UTF-8 before the text is given over to rules processing. +# +# 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 @@ -74,6 +100,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 @@ -96,4 +126,3 @@ ifplugin Mail::SpamAssassin::Plugin::Shortcircuit # shortcircuit BAYES_00 ham endif # Mail::SpamAssassin::Plugin::Shortcircuit -