sieve parse error

Ken Murchison ken at
Tue May 11 14:46:32 EDT 2004

Andrew Morgan wrote:

> On Tue, 11 May 2004, Ken Murchison wrote:
>>Andrew Morgan wrote:
>>>It seems as if the sieve parser gets "stuck" after it encounters this
>>>first error.  The other .sieve files that it is complaining about are
>>>correctly formatted sieve files that normally work.  This same pattern is
>>>repeated for other lmtpd processes as well.  A fresh lmtpd works correctly
>>>until it encounters this broken sieve script.
>>>Is this a known bug?
>>Yes, the lexer state is not reset.
>>>Would upgrading to cyrus-imap v2.2.3 fix this?
>>Yes.  Since all scripts are now compiled into bytecode, this becomes a
>>non-issue and scripts are also processes faster.
> We are using .sieve files in user home directories.  Is your statement
> above still true for this case?

Yes, you'll need to compile scripts by hand using sievec (since 
timsieved doesn't support home dirs).  If you want to try resetting the 
parser state, the patch is here:

Its already been applied to CVS HEAD.

Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--
Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list