procmail
[Top] [All Lists]

Re: rule to catch a certain number of characters

2007-05-27 11:56:07
In an older episode (Sunday, 27. May 2007 17:55), Bart Schaefer wrote:
Since you know the long line is in the HTML title tag:
:0:

* B ?? <title>\/.*</title>
* 1^1 MATCH ?? > 1000
spampile

That didn't work for me. Apparently, it's not that easy to match the 
heading "<" of a HTML tag. I changed it to a working version:

:0:
* B ?? [<]title[>]\/.*$*.*$*.*[<][/]title[>]
* MATCH ?? > 1000
/tmp/spampile

One problem though: with VERBOSE=yes that logs MATCH=<allofthe100kline>

Can I set verbose to no if <title> is matched and re-set it to yes 
afterwards automatically?

Cheers and thanks,

wolfgang

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail