procmail
[Top] [All Lists]

Re: Detect word

1998-07-28 22:29:17
F(_at_)N wrote:

* ^Subject. *damocles
  Did you come from a DOS background?  Don't worry, I did too.
"*" is NOT the correct wildcard spec in unix regular expressions.
The correct wildcard spec is ".*", so your filter should be
changed to...
 * ^Subject:.*damocles
...note *NO SPACE BETWEEN THE DOT AND THE ASTERISK*.

-- 
Walter Dnes <waltdnes(_at_)interlog(_dot_)com> procmail spamfilter
http://www.interlog.com/~waltdnes/spamdunk/spamdunk.htm
Why a fiscal conservative opposes Toronto 2008 OWE-lympics
http://www.interlog.com/~waltdnes/owe-lympics/owe-lympics.htm