From: Hanno 'Rince' Wagner Date: Tue, 4 Apr 2017 08:48:20 +0000 (+0200) Subject: not only try to load the plugin but include the rules only if the X-Git-Url: https://git.donarmstrong.com/?p=spamassassin_config.git;a=commitdiff_plain;h=bae0193e4aaed334a1f9359c20e42c4b189df74c;ds=sidebyside not only try to load the plugin but include the rules only if the plugin works --- diff --git a/common/common_spam b/common/common_spam index 8749239..a514093 100644 --- a/common/common_spam +++ b/common/common_spam @@ -25,8 +25,9 @@ include auto_response_spam # this is a set of image-specific spam rules tryplugin Mail::SpamAssassin::Plugin::ImageInfo -include image_spam - +if (plugin (Mail::SpamAssassin::Plugin::ImageInfo) + include image_spam +endif meta DIGEST_MULTIPLE RAZOR2_CHECK + PYZOR_CHECK > 1 describe DIGEST_MULTIPLE Message hits more than one network digest check