X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/5af333ca3b83425e5cb3aa704b37654d576856c1..f3fec83725bb87ebfd59a5c8f728cc600403a0b7:/procmail/handlespam diff --git a/procmail/handlespam b/procmail/handlespam index 4095f60..e20a491 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/ + { DEST=retrain.unsure } } :0 E @@ -46,12 +42,11 @@ { LOG="spamfilter: filing as disagreed$NL" :0 - $INBOX/.retrain.disagree/ + { DEST=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,10 +70,10 @@ { LOG="spamfilter: filing as spam$NL" :0 - $INBOX/.spam/ + $SPAM } -:0 +:0 E { LOG="spamfilter: allowed to pass$NL" } #:0 E