procmail
[Top] [All Lists]

Re: all-caps in subj

2000-08-16 13:42:36
Dallman tried,

|   :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" }

There's no "D" modifier on a single condition.  If you have some regexps
which must be tested sensitively to case and some insensitively to case,
you have to put them into separate recipes, like this:

  :0D otherflags
  * case-sensitive conditions
  { }
  :0A otherflagsbutnotD
  * case-insensitive conditions
  action

or

  :0D otherflags
  * case-sensitive conditions
  { 
   :0 otherflagsbutnotD
   * case-insensitive conditions
   action
  }

Or you could do the case-insensitive tests first, whichever is more efficient
for the situation.


_______________________________________________
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>