From 2c8d4e72ecb84ff6a3a14f7a34c145101170511b Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 13 Aug 2007 11:18:48 +0200 Subject: [PATCH 1/1] skip training spamtrapped ham if skipped --- procmail/spamfilter | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.39.5