:0 B:
* HREF\=\"HTTP:\/\/www\.
IN-WEB
This is completely wrong. As I said before, there is nothing magic
about '=', '"' or '/'.
However, there *is* something magic about '\/'. Adding those extra '\'s
breaks an OK regular expression.
THE MAIL SIMPLY CONTAINS THE FOLLOWING
Subject celeb party
body
href="http://www.
That wouldn't match at all, since there is no ':' after 'Subject'.
Try this:
create a file called test.prc that contains:
VERBOSE=1
:0
* ^Subject:.*(WANNA SEE\?\?|EXTRAMARITAL|FANTASIES|PASSWORDS|FREE|WEBCAM\
\<GIRL\>|\<CELEB\>.*PARTY|PASSWORD|\<COCK\>)
{
:0 B:
* HREF="HTTP://www\.
/dev/null
}
:0
/dev/null
At a shell prompt, tell procmail to use that file to process standard
input:
$ procmail test.prc
and type in the test mail:
Subject: celeb party
body
href="http://www.
then hit CTRL-D.
What happens?
I get the expected output:
procmail: [28396] Sat Oct 5 13:58:06 2002
procmail: Match on "^Subject:.*(WANNA
SEE\?\?|EXTRAMARITAL|FANTASIES|PASSWORDS|FREE|WEBCAM\<GIRL\>|\<CELEB\>.*PARTY|PASSWORD|\<COCK\>)"
procmail: Match on "HREF="HTTP://www\."
...
What do you get? What version of procmail are you using? What
platform?
Regards,
Martin
--
Martin McCarthy /</ http://procmail.non-prophet.org
`Procmail Companion' \>\
Addison Wesley /</ PGP key available
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail