0b9818bb60
- WARNING: spamassassin-3.3.0+ no longer ships with its own rules. You must run sa-update to download rules before you use spamassassin. Failure to download rules means spamassassin always returns unfiltered. Should we ship a set of rules with spamassassin? Please discuss on fedora-devel-list.
251 lines
9.9 KiB
Diff
251 lines
9.9 KiB
Diff
diff -urN Mail-SpamAssassin-3.3.0.orig/rules/init.pre Mail-SpamAssassin-3.3.0/rules/init.pre
|
|
--- Mail-SpamAssassin-3.3.0.orig/rules/init.pre 1969-12-31 19:00:00.000000000 -0500
|
|
+++ Mail-SpamAssassin-3.3.0/rules/init.pre 2009-07-06 18:56:58.599173705 -0400
|
|
@@ -0,0 +1,36 @@
|
|
+# This is the right place to customize your installation of SpamAssassin.
|
|
+#
|
|
+# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
|
|
+# tweaked.
|
|
+#
|
|
+# This file contains plugin activation commands for plugins included
|
|
+# in SpamAssassin 3.0.x releases. It will not be installed if you
|
|
+# already have a file in place called "init.pre".
|
|
+#
|
|
+# There are now multiple files read to enable plugins in the
|
|
+# /etc/mail/spamassassin directory; previously only one, "init.pre" was
|
|
+# read. Now both "init.pre", "v310.pre", and any other files ending in
|
|
+# ".pre" will be read. As future releases are made, new plugins will be
|
|
+# added to new files, named according to the release they're added in.
|
|
+###########################################################################
|
|
+
|
|
+# RelayCountry - add metadata for Bayes learning, marking the countries
|
|
+# a message was relayed through
|
|
+#
|
|
+# Note: This requires the IP::Country::Fast Perl module
|
|
+#
|
|
+# loadplugin Mail::SpamAssassin::Plugin::RelayCountry
|
|
+
|
|
+# URIDNSBL - look up URLs found in the message against several DNS
|
|
+# blocklists.
|
|
+#
|
|
+loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
|
|
+
|
|
+# Hashcash - perform hashcash verification.
|
|
+#
|
|
+loadplugin Mail::SpamAssassin::Plugin::Hashcash
|
|
+
|
|
+# SPF - perform SPF verification.
|
|
+#
|
|
+loadplugin Mail::SpamAssassin::Plugin::SPF
|
|
+
|
|
diff -urN Mail-SpamAssassin-3.3.0.orig/rules/v310.pre Mail-SpamAssassin-3.3.0/rules/v310.pre
|
|
--- Mail-SpamAssassin-3.3.0.orig/rules/v310.pre 1969-12-31 19:00:00.000000000 -0500
|
|
+++ Mail-SpamAssassin-3.3.0/rules/v310.pre 2009-07-06 18:56:58.600173835 -0400
|
|
@@ -0,0 +1,78 @@
|
|
+# This is the right place to customize your installation of SpamAssassin.
|
|
+#
|
|
+# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
|
|
+# tweaked.
|
|
+#
|
|
+# This file was installed during the installation of SpamAssassin 3.1.0,
|
|
+# and contains plugin loading commands for the new plugins added in that
|
|
+# release. It will not be overwritten during future SpamAssassin installs,
|
|
+# so you can modify it to enable some disabled-by-default plugins below,
|
|
+# if you so wish.
|
|
+#
|
|
+# There are now multiple files read to enable plugins in the
|
|
+# /etc/mail/spamassassin directory; previously only one, "init.pre" was
|
|
+# read. Now both "init.pre", "v310.pre", and any other files ending in
|
|
+# ".pre" will be read. As future releases are made, new plugins will be
|
|
+# added to new files, named according to the release they're added in.
|
|
+###########################################################################
|
|
+
|
|
+# DCC - perform DCC message checks.
|
|
+#
|
|
+# DCC is disabled here because it is not open source. See the DCC
|
|
+# license for more details.
|
|
+#
|
|
+#loadplugin Mail::SpamAssassin::Plugin::DCC
|
|
+
|
|
+# Pyzor - perform Pyzor message checks.
|
|
+#
|
|
+loadplugin Mail::SpamAssassin::Plugin::Pyzor
|
|
+
|
|
+# Razor2 - perform Razor2 message checks.
|
|
+#
|
|
+loadplugin Mail::SpamAssassin::Plugin::Razor2
|
|
+
|
|
+# SpamCop - perform SpamCop message reporting
|
|
+#
|
|
+loadplugin Mail::SpamAssassin::Plugin::SpamCop
|
|
+
|
|
+# AntiVirus - some simple anti-virus checks, this is not a replacement
|
|
+# for an anti-virus filter like Clam AntiVirus
|
|
+#
|
|
+#loadplugin Mail::SpamAssassin::Plugin::AntiVirus
|
|
+
|
|
+# AWL - do auto-whitelist checks
|
|
+#
|
|
+#loadplugin Mail::SpamAssassin::Plugin::AWL
|
|
+
|
|
+# AutoLearnThreshold - threshold-based discriminator for Bayes auto-learning
|
|
+#
|
|
+loadplugin Mail::SpamAssassin::Plugin::AutoLearnThreshold
|
|
+
|
|
+# TextCat - language guesser
|
|
+#
|
|
+#loadplugin Mail::SpamAssassin::Plugin::TextCat
|
|
+
|
|
+# AccessDB - lookup from-addresses in access database
|
|
+#
|
|
+#loadplugin Mail::SpamAssassin::Plugin::AccessDB
|
|
+
|
|
+# WhitelistSubject - Whitelist/Blacklist certain subject regular expressions
|
|
+#
|
|
+loadplugin Mail::SpamAssassin::Plugin::WhiteListSubject
|
|
+
|
|
+###########################################################################
|
|
+# experimental plugins
|
|
+
|
|
+# DomainKeys - perform DomainKeys verification
|
|
+#
|
|
+# This plugin has been removed as of v3.3.0. Use the DKIM plugin instead,
|
|
+# which supports both Domain Keys and DKIM.
|
|
+
|
|
+# MIMEHeader - apply regexp rules against MIME headers in the message
|
|
+#
|
|
+loadplugin Mail::SpamAssassin::Plugin::MIMEHeader
|
|
+
|
|
+# ReplaceTags
|
|
+#
|
|
+loadplugin Mail::SpamAssassin::Plugin::ReplaceTags
|
|
+
|
|
diff -urN Mail-SpamAssassin-3.3.0.orig/rules/v312.pre Mail-SpamAssassin-3.3.0/rules/v312.pre
|
|
--- Mail-SpamAssassin-3.3.0.orig/rules/v312.pre 1969-12-31 19:00:00.000000000 -0500
|
|
+++ Mail-SpamAssassin-3.3.0/rules/v312.pre 2009-07-06 18:56:58.600173835 -0400
|
|
@@ -0,0 +1,29 @@
|
|
+# This is the right place to customize your installation of SpamAssassin.
|
|
+#
|
|
+# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
|
|
+# tweaked.
|
|
+#
|
|
+# This file was installed during the installation of SpamAssassin 3.1.2,
|
|
+# and contains plugin loading commands for the new plugins added in that
|
|
+# release. It will not be overwritten during future SpamAssassin installs,
|
|
+# so you can modify it to enable some disabled-by-default plugins below,
|
|
+# if you so wish.
|
|
+#
|
|
+# There are now multiple files read to enable plugins in the
|
|
+# /etc/mail/spamassassin directory; previously only one, "init.pre" was
|
|
+# read. Now both "init.pre", "v310.pre", and any other files ending in
|
|
+# ".pre" will be read. As future releases are made, new plugins will be
|
|
+# added to new files, named according to the release they're added in.
|
|
+
|
|
+###########################################################################
|
|
+# experimental plugins
|
|
+
|
|
+# DKIM - perform DKIM verification
|
|
+#
|
|
+# Mail::DKIM module required for use, see INSTALL for more information.
|
|
+#
|
|
+# Note that if C<Mail::DKIM> version 0.20 or later is installed, this
|
|
+# renders the DomainKeys plugin redundant.
|
|
+#
|
|
+loadplugin Mail::SpamAssassin::Plugin::DKIM
|
|
+
|
|
diff -urN Mail-SpamAssassin-3.3.0.orig/rules/v320.pre Mail-SpamAssassin-3.3.0/rules/v320.pre
|
|
--- Mail-SpamAssassin-3.3.0.orig/rules/v320.pre 1969-12-31 19:00:00.000000000 -0500
|
|
+++ Mail-SpamAssassin-3.3.0/rules/v320.pre 2009-07-06 18:56:58.600173835 -0400
|
|
@@ -0,0 +1,64 @@
|
|
+# This is the right place to customize your installation of SpamAssassin.
|
|
+#
|
|
+# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
|
|
+# tweaked.
|
|
+#
|
|
+# This file was installed during the installation of SpamAssassin 3.2.0,
|
|
+# and contains plugin loading commands for the new plugins added in that
|
|
+# release. It will not be overwritten during future SpamAssassin installs,
|
|
+# so you can modify it to enable some disabled-by-default plugins below,
|
|
+# if you so wish.
|
|
+#
|
|
+# There are now multiple files read to enable plugins in the
|
|
+# /etc/mail/spamassassin directory; previously only one, "init.pre" was
|
|
+# read. Now both "init.pre", "v310.pre", and any other files ending in
|
|
+# ".pre" will be read. As future releases are made, new plugins will be
|
|
+# added to new files, named according to the release they're added in.
|
|
+###########################################################################
|
|
+
|
|
+# Check - Provides main check functionality
|
|
+#
|
|
+loadplugin Mail::SpamAssassin::Plugin::Check
|
|
+
|
|
+# HTTPSMismatch - find URI mismatches between href and anchor text
|
|
+#
|
|
+loadplugin Mail::SpamAssassin::Plugin::HTTPSMismatch
|
|
+
|
|
+# URIDetail - test URIs using detailed URI information
|
|
+#
|
|
+loadplugin Mail::SpamAssassin::Plugin::URIDetail
|
|
+
|
|
+# Shortcircuit - stop evaluation early if high-accuracy rules fire
|
|
+#
|
|
+# loadplugin Mail::SpamAssassin::Plugin::Shortcircuit
|
|
+
|
|
+# Plugins which used to be EvalTests.pm
|
|
+# broken out into separate plugins
|
|
+loadplugin Mail::SpamAssassin::Plugin::Bayes
|
|
+loadplugin Mail::SpamAssassin::Plugin::BodyEval
|
|
+loadplugin Mail::SpamAssassin::Plugin::DNSEval
|
|
+loadplugin Mail::SpamAssassin::Plugin::HTMLEval
|
|
+loadplugin Mail::SpamAssassin::Plugin::HeaderEval
|
|
+loadplugin Mail::SpamAssassin::Plugin::MIMEEval
|
|
+loadplugin Mail::SpamAssassin::Plugin::RelayEval
|
|
+loadplugin Mail::SpamAssassin::Plugin::URIEval
|
|
+loadplugin Mail::SpamAssassin::Plugin::WLBLEval
|
|
+
|
|
+# VBounce - anti-bounce-message rules, see rules/20_vbounce.cf
|
|
+#
|
|
+loadplugin Mail::SpamAssassin::Plugin::VBounce
|
|
+
|
|
+# Rule2XSBody - speedup by compilation of ruleset to native code
|
|
+#
|
|
+# loadplugin Mail::SpamAssassin::Plugin::Rule2XSBody
|
|
+
|
|
+# ASN - Look up the Autonomous System Number of the connecting IP
|
|
+# and create a header containing ASN data for bayes tokenization.
|
|
+# See plugin's POD docs for usage info.
|
|
+#
|
|
+# loadplugin Mail::SpamAssassin::Plugin::ASN
|
|
+
|
|
+# ImageInfo - rules to match metadata of image attachments
|
|
+#
|
|
+loadplugin Mail::SpamAssassin::Plugin::ImageInfo
|
|
+
|
|
diff -urN Mail-SpamAssassin-3.3.0.orig/rules/v330.pre Mail-SpamAssassin-3.3.0/rules/v330.pre
|
|
--- Mail-SpamAssassin-3.3.0.orig/rules/v330.pre 1969-12-31 19:00:00.000000000 -0500
|
|
+++ Mail-SpamAssassin-3.3.0/rules/v330.pre 2009-07-06 18:56:58.600173835 -0400
|
|
@@ -0,0 +1,23 @@
|
|
+# This is the right place to customize your installation of SpamAssassin.
|
|
+#
|
|
+# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
|
|
+# tweaked.
|
|
+#
|
|
+# This file was installed during the installation of SpamAssassin 3.3.0,
|
|
+# and contains plugin loading commands for the new plugins added in that
|
|
+# release. It will not be overwritten during future SpamAssassin installs,
|
|
+# so you can modify it to enable some disabled-by-default plugins below,
|
|
+# if you so wish.
|
|
+#
|
|
+# There are now multiple files read to enable plugins in the
|
|
+# /etc/mail/spamassassin directory; previously only one, "init.pre" was
|
|
+# read. Now both "init.pre", "v310.pre", and any other files ending in
|
|
+# ".pre" will be read. As future releases are made, new plugins will be
|
|
+# added to new files, named according to the release they're added in.
|
|
+###########################################################################
|
|
+
|
|
+# PhishTag - allows sites to rewrite suspect phish-mail URLs
|
|
+# (Note: this requires configuration, see http://umut.topkara.org/PhishTag)
|
|
+#
|
|
+#loadplugin Mail::SpamAssassin::Plugin::PhishTag
|
|
+
|