procmail
[Top] [All Lists]

Re: strange regual exprestion problem.

1997-03-13 10:35:03
"D. Eleon Forsht" <dforsht(_at_)silent(_dot_)digex(_dot_)net> writes:
Hmm, I am not sure why this is not working... I am trying to match a
Reply-To: line and am not having much luck. Here is the line I am 
trying to match:
Reply-To: hotdeals(_at_)interconnectivity(_dot_)com

and here are two thing I am trying to grab it with:
:0 h
* ^Reply(-)(To|to):(_dot_)*hotdeals(_at_)interconnectivity(_dot_)com
$SPAM

Procmail regular expressions are case-insensitive (unless the 'D' flag is
used), so the "(To|to)" bit didn't do anything.


:0 h 
* ^Reply-To:.*hotdeals.interconnectivity.com
$SPAM

I would think that one or the other would find it, but neither does. Any
ideas?

Have you turned on verbose logging and checked to see what the logfile says?

LOGFILE = $HOME/procmail.log
VERBOSE = on

Otherwise, they look like they should have worked.


Philip Guenther

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