Jeremy, You've probably noticed this yourself, but I'm suspecting cyrus is treating the [ and ] as standard regex grouping characters, which would explain the number rejects. I don't really know anything about the Cyrus codebase, not being a programmer, but I do know that sieve can support regexes, from some things I've seen on the list and from my perusal of websieve. However, it was my understanding that regex support in a sieve script had to be explicitly enabled before it works.
Not really an answer, I know, but what happens if you backslash escape the brackets (or at least the left bracket)? Will --On Monday, 22 October, 2001 08:00 +1000 Jeremy Howard <[EMAIL PROTECTED]> wrote: > One of my users has this script: > ---- > if anyof( > header :matches "subject" "*[spam score 10.0/10.0 -pobox]*", > header :matches "subject" "*XXXXXXXXXXXX*") { > reject "Message bounced by server content filter"; > stop; > } > ---- > It is rejecting a lot of messages that do not match either test. When I > changed the first test to "*spam score 10.0*10.0 *pobox*" (i.e. I got rid > of all 'special' characters) it worked fine. > > But according to the RFC only '*' and '?' are special. Does Cyrus treat > some other chars specially? > > ---------------------------------------------------------------------------- William K. Hardeman [EMAIL PROTECTED] http://www.wkh.org Always listen to experts. They'll tell you what can't be done and why. Then do it. --Robert A. Heinlein