Re: [Dovecot] Sieve regex never matches

2007-11-26 Thread Frank Kintrup
Hi Timo, >> Both scripts compile fine, but their regex never match. Has anyone >> an idea why? I'm using Dovecot 1.0.0 on Debian Etch stable. > > So I guess you also use Debian-compiled Sieve plugin? It's possible that > it doesn't have regex support compiled in. I'm not sure if it gives any > er

Re: [Dovecot] Sieve regex never matches

2007-11-26 Thread Timo Sirainen
On Sun, 2007-11-25 at 00:01 +0100, [EMAIL PROTECTED] wrote: > Both scripts compile fine, but their regex never match. Has anyone > an idea why? I'm using Dovecot 1.0.0 on Debian Etch stable. So I guess you also use Debian-compiled Sieve plugin? It's possible that it doesn't have regex support comp

[Dovecot] Sieve regex never matches

2007-11-24 Thread frank.kintrup
Hi, I found the following code on the net which should redirect all mails to another address depending on the time of day (useful for forwarding mails to work): require ["regex"]; if allof (header :regex "date" "(08|09|10|11|12|13|14|15|16|17):..:..", not header :regex "date" "(sat|s