procmail
[Top] [All Lists]

all-caps in subj

2000-08-16 10:42:41
Just tried my first scoring recipe, but couldn't quite get it
to work.  Wanted "If 3 or more all-caps words in Subject, and if
suspect body phrase, do something."

This isn't right and is sure to be a minor embarrassment, but oh, well:


  :0  # all-caps in 3+ words of SUBJ + SPAMISH body phrase is suspect
  *    -300^0
  * $ D 100^1 SUBJ ?? ()[$WHITESPACE][^a-z]+([$WHITESPACE]|$)
  * $ B ?? $SPAMISH
  { RECIPE = "${RECIPE:+$RECIPE }UBE_20" }


-- 
dman+noacks(_at_)nomotek(_dot_)com

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>