procmail
[Top] [All Lists]

^TO, ^TO_, and spamgourmet addressing

2002-12-07 08:19:44
It's all spelled out in the procmailrc(5) man page: ^TO will match a string
that ends in a period or a hyphen but ^TO_ will not.  If the period is the
only punctuation mark you want to allow, then rather than eviscerate ^TO_ by
adding ".*" I'd recommend this:

 * ^TO_([a-z0-9]+\.)?word

or this:

 * ^TOword

The only occasion for ^TO.* or ^TO_.* is the case where the string after it in
the regexp can start in the middle of a word and that's just fine with you if
it does.


_______________________________________________
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>
  • ^TO, ^TO_, and spamgourmet addressing, David W. Tamkin <=