Hi Alexander,
AL> I started tool, which can test incoming mail and add additional header
Under which type of licence?! :-) *scnr*
AL> "X-Spam-Chance: xx", where xx is value of chance
AL> now I have _big_ trouble... How to detect strings, where number is
AL> more (for example), than 5...
I guess you want wo create a filter in TB! to move such mails into
special folders...
Strings: (?ism)^X-Spam-Chance:\s*0*(([2-9][0-9])|([1-9]\d{2,}))
Location: Kludges
Presence: Yes
[x] Regular Expressions
Let's take a closer look to the RegExp. This one works for a
spam-chance value >= 20
(?ism)^X-Spam-Chance:\s*0*(([2-9][0-9])|([1-9]\d{2,}))
���������� �����������
covers covers
20 to 99 100 to infinity
spam-chance value >= 5 (not tested, but should work)
(?ism)^X-Spam-Chance:\s*0*(([5-9])|([1-9]\d{1,}))
����� �����������
covers covers
5 - 9 10 to infinity
--
HTH + Best regards, Carsten
The Bat! (v1.54/10e) Business
Windows NT 5.0 (Build 2195) Service Pack 2
--
______________________________________________________
Archives : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]