X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/5af333ca3b83425e5cb3aa704b37654d576856c1..4aa8bb22b96309475f5f0445e3501e14664758d3:/procmail/handlespam diff --git a/procmail/handlespam b/procmail/handlespam index 4095f60..cab35eb 100644 --- a/procmail/handlespam +++ b/procmail/handlespam @@ -12,16 +12,12 @@ # symptom: $IS_SPAM is set # reaction: file as spam # -# 4a. message needs to be retrained as spam -# symptom: $CRM_RETRAIN is set to spam +# 4. message needs to be retrained as spam +# symptom: $RETRAIN is set to spam # reaction: retrain filters, report, and file as spam # -# 4b. message is spamtrapped -# symptom: $SPAMTRAPPED is set -# reaction: train filters, report, and file as spam -# # 5. message needs to be retrained as ham -# symptom: $CRM_RETRAIN is set to ham +# symptom: $RETRAIN is set to ham # reaction: retrain crm114 and resubmit the message to the spamfilter # # 6. spam degree is unknown: @@ -38,7 +34,7 @@ { LOG="spamfilter: filing as unsure$NL" :0 - $INBOX/.retrain.unsure/ + $BASE/.retrain.unsure/ } :0 E @@ -46,12 +42,11 @@ { LOG="spamfilter: filing as disagreed$NL" :0 - $INBOX/.retrain.disagree/ + $BASE/.retrain.disagree/ } :0 E -* 1^0 CRM_RETRAIN ?? spam -* 1^0 SPAMTRAPPED ?? . +* RETRAIN ?? spam { LOG="spamfilter: (re)training as spam$NL" :0 fw @@ -60,7 +55,7 @@ } :0 E -* CRM_RETRAIN ?? ham +* RETRAIN ?? ham { LOG="spamfilter: retraining as ham$NL" :0 fw @@ -75,7 +70,7 @@ { LOG="spamfilter: filing as spam$NL" :0 - $INBOX/.spam/ + $BASE/.spam/ } :0