sieve errors

Andrew Morgan morgan at orst.edu
Wed Sep 10 20:07:09 EDT 2003


I'm getting some really strange sieve parse errors in my syslogs.  Here is
an error message I got (sorry for the length):

Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 10: address 'mcnameejunk at hotmail.com; } elsif header :contains ': parse error, unexpected $undefined., expecting $
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 13: address 'camcnamee at netzero.net': parse error, unexpected $undefined., expecting '<'
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 15: parse error, unexpected ';', expecting STRING
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 17: address 'cmcnamee at gawab.com': parse error, unexpected '@', expecting '<'
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 20: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 21: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 22: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 23: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 24: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 25: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 26: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 27: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 28: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 29: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 30: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 31: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 32: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 33: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 34: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 35: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 36: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 37: fileinto not required
Sep 10 12:53:16 mail1 lmtpd[27171]: sieve parse error for morgan: line 38: fileinto not required

But these error messages make no sense because my .sieve file looks
nothing like this.  My .sieve file is only 22 lines long for one.
However, another one of my users (mcnameec) has been playing with his
.sieve file today, generating plenty of sieve parse errors in the logs,
and his .sieve file contains lines similar to these errors.

This also happened to another user:

Sep 10 12:51:21 mail1 lmtpd[27199]: sieve parse error for crops: line 10: address 'mcnameejunk at hotmail.com; } elsif header :contains ': parse error, unexpected $undefined., expecting $
Sep 10 12:51:21 mail1 lmtpd[27199]: sieve parse error for crops: line 13: address 'camcnamee at netzero.net': parse error, unexpected $undefined., expecting '<'
Sep 10 12:51:21 mail1 lmtpd[27199]: sieve parse error for crops: line 15: parse error, unexpected ';', expecting STRING
Sep 10 12:51:21 mail1 lmtpd[27199]: sieve parse error for crops: line 17: address 'cmcnamee at gawab.com': parse error, unexpected '@', expecting '<'

Again, "crops" has a single line in his .sieve file which redirects to
another email address, so these error messages can't be from him.

It looks to me like sieve is getting confused somehow, but it doesn't seem
to be repeatable.  Any advice?  Anything I can do to help track this down?

I'm running cyrus-imapd 2.1.15 and cyrus-sasl 2.1.15 on Debian stable.

Thanks,
	Andy





More information about the Info-cyrus mailing list