Blob Blame History Raw
Patch by Robert Scheck <robert@fedoraproject.org> for spamassassin-dqs >= 1.0.3 to ensure
correct loadplugin configuration in /etc/mail/spamassassin/sh.pre by default.

--- spamassassin-dqs-1.0.3/sh.pre			2019-07-09 12:30:03.000000000 +0200
+++ spamassassin-dqs-1.0.3/sh.pre.loadplugin		2019-07-11 00:46:35.321231262 +0200
@@ -1,7 +1,10 @@
-loadplugin      Mail::SpamAssassin::Plugin::SH <config_directory>/SH.pm
-
-# In case you already loaded Shortcircuit in v320.pre , you can comment the following line.
-# Leaving it uncommented with the same line in v320.pre uncommented too doesn't cause problems
-
-loadplugin      Mail::SpamAssassin::Plugin::Shortcircuit
+# Spamhaus - Spamhaus Technology Data Query Service (DQS)
+# Read /usr/share/doc/spamassassin-dqs/README.md regarding the
+# configuration *before* uncommenting the 'loadplugin' line.
+#
+#loadplugin Mail::SpamAssassin::Plugin::SH
 
+# Shortcircuit - stop evaluation early if high-accuracy rules fire
+# Explicitly load plugin as it's commented by default in v320.pre
+#
+loadplugin Mail::SpamAssassin::Plugin::Shortcircuit