Timo Sirainen wrote:
On 3.1.2007, at 8.20, James Turnbull wrote:
Does the Dovecot Sieve implementation support the regex capability?
I think it does. Do you have ENABLE_REGEX defined i dsieve-config.h? If you do, then.. Well, I don't know. I've just copied the Sieve code from Cyrus, so you could try finding how the regex support is supposed to work with Cyrus.
It is defined as:
/* Do we have a decent regex library? */ #define ENABLE_REGEX
And the only errors in the make are:
sieve-lex.l:212: warning: no previous prototype for 'sievelex' sieve-lex.l: In function 'sievelex': sieve-lex.l:122: warning: label 'find_rule' defined but not used sieve-lex.l: At top level: sieve-lex.l:1007: warning: 'yy_flex_realloc' defined but not used
My system is a Red Hat Fedora Core 6 box - Linux absinthe.lovedthanlost.net 2.6.18-1.2869.fc6 #1 SMP Wed Dec 20 14:51:34 EST 2006 x86_64 x86_64 x86_64 GNU/Linux
Dovecot is 1.0RC15 and Dovecot-Sieve 1.0.
Regards
James Turnbull
-- James Turnbull james@lovedthanlost.net
Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/)
Hardening Linux (http://www.amazon.com/gp/product/1590594444/)
PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40)