procmail
[Top] [All Lists]

egrep matches, procmail doesn't -- what's wrong?

2000-03-01 09:10:33
Greetings,

I wrote the following rule to my .procmailrc:

:0 :
* ^Subject:[[:alpha:][:space:]]*([^[:alpha:][:space:]][[:alpha:][:space:]]*){4}
potential-spam-notforme

If I try the same regexp on command line with egrep for line,...

Subject: >>> Incredible Car Care Products <<<

...egrep matches it,  but the rule in my  .procmailrc doesn't catch
mails with that line in  the header.  I've read the FAQ, KNOWN-BUGS
etc., and I  have 500 lines of regexp-rules  in my .procmailrc that
work fine  but I  can't understand what's  going on with  this one,
especially   when  procmail(5)   says  that   procmail   should  be
*completely* compatible with egrep(1) extended regular expressions.
Any ideas?

-- 
Hannu

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