We recently upgraded a few of our imap servers to 2.4.8beta1 from 2.3.16 and found that sieve filters with regex are broken. The filtering rule is ignored and the message delivered to INBOX, so at least not gone.
Example filter: require ["fileinto","regex"]; if header :regex :comparator "i;ascii-casemap" "X-UiO-Spam-score" "s{3,}" { fileinto "INBOX.spam"; stop; } This fails to compile on 2.4.8: r...@mail-utv2.uio.no tmp# sievec phpscript.script phpscript.bc Unable to parse script: script errors: line 4: bad argument at offset 0 while on 2.3.16 this is no problem: r...@mail-imap2.uio.no tmp# sievec phpscript.script phpscript.bc r...@mail-imap2.uio.no tmp# The filter is generated using the avelsieve plugin in Squrrielmail. Neither of them have defined the option sieve_extensions in imapd.conf. ./configure reported that it found pcre headers: checking pcreposix.h usability... yes checking pcreposix.h presence... yes checking for pcreposix.h... yes checking for utf8 enabled pcre... yes and sievec and other binaries are linked with libpcre. Any ideas? -- Øyvind Kolbu Postmaster University of Oslo
pgpcrYDWxHMqa.pgp
Description: PGP signature
---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/