From: martin f. krafft Date: Mon, 13 Aug 2007 09:18:48 +0000 (+0200) Subject: skip training spamtrapped ham if skipped X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/2c8d4e72ecb84ff6a3a14f7a34c145101170511b?hp=045fc6b86dce9398035a949404bbc521be5622dd skip training spamtrapped ham if skipped --- diff --git a/procmail/spamfilter b/procmail/spamfilter index 9e6d787..66a725e 100755 --- a/procmail/spamfilter +++ b/procmail/spamfilter @@ -60,6 +60,7 @@ TRAINED_AS :0 fw |$FORMAIL -I"X-Spam: unknown (check skipped)" SPAM_UNKNOWN=skip-match + SKIP_SPAMCHECKS=match } # sanity check on message size @@ -252,6 +253,7 @@ TRAINED_AS # schedule spamtrapped ham for retraining as spam :0 * SPAMTRAPPED ?? . +* ! SKIP_SPAMCHECKS ?? . * ! IS_SPAM ?? . { LOG="spamfilter: found spamtrapped ham, retraining...$NL"