Hi,
we are running 2.2.10 under RHEL 3:
name : Cyrus IMAPD
version : v2.2.10-Invoca-RPM-2.2.10-1 2004/11/23 17:52:52
vendor : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os : Linux
os-version : 2.4.21-15.0.3.ELsmp
environment: Built w/Cyrus SASL 2.1.20
Running w/Cyrus SASL 2.1.20
Built w/Sleepycat Software: Berkeley DB 4.1.25: (August 21, 2003)
Running w/Sleepycat Software: Berkeley DB 4.1.25: (August 21, 2003)
Built w/OpenSSL 0.9.7a Feb 19 2003
Running w/OpenSSL 0.9.7a Feb 19 2003
CMU Sieve 2.2
TCP Wrappers
mmap = shared
lock = fcntl
nonblock = fcntl
auth = unix
idle = poll
Today I found the following error messages in our logwatch output:
Dec 11 15:01:22 lvr13 sieve[24368]: DBERROR db4: Database handles open during environment close
Dec 11 15:01:22 lvr13 sieve[24368]: DBERROR: error exiting application: Invalid argument
Dec 11 15:42:10 lvr13 sieve[4704]: DBERROR db4: Database handles open during environment close
Dec 11 15:42:10 lvr13 sieve[4704]: DBERROR: error exiting application: Invalid argument
Dec 11 15:52:36 lvr13 sieve[15142]: DBERROR db4: Database handles open during environment close
Dec 11 15:52:36 lvr13 sieve[15142]: DBERROR: error exiting application: Invalid argument
Dec 11 16:05:48 lvr13 sieve[32175]: DBERROR db4: Database handles open during environment close
Dec 11 16:05:48 lvr13 sieve[32175]: DBERROR: error exiting application: Invalid argument
When I investigated what had happened, I found that all four instances were one of our users trying to install a sieve script that had syntax errors. I'm going to show one of those four attempts:
Dec 11 15:41:37 lvr13 sieve[4704]: login: xxxxxx DIGEST-MD5+TLS User logged in
ec 11 15:41:37 lvr13 sieve[4704]: line 6: parse error, unexpected ';'
Dec 11 15:41:48 lvr13 sieve[4704]: entered bc_action_emit with filelen: 16
Dec 11 15:41:48 lvr13 sieve[4704]: entered bc_action_emit with filelen: 116
Dec 11 15:42:10 lvr13 sieve[4704]: DBERROR db4: Database handles open during environment close
Dec 11 15:42:10 lvr13 sieve[4704]: DBERROR: error exiting application: Invalid argument
There are two funny things going on.
1. All the syslog lines from the sieve parser replace the initial character with a space.
2. The database handles apparently aren't closed properly after a syntax error.
I haven't yet looked at the source, I'm just reporting my observation.
Cheers, Sebastian -- Sebastian Hagedorn M.A. - RZKR-R1 (Flachbau), Zi. 18, Robert-Koch-Str. 10 Zentrum fÃr angewandte Informatik - UniversitÃtsweiter Service RRZK UniversitÃt zu KÃln / Cologne University - Tel. +49-221-478-5587
pgpBdz08iYk0p.pgp
Description: PGP signature