Hello,

 I have having problems concerning lmtpd crashing when using 
Cyrus IMAP version 2.0.14 which do _not_ appear with version 
2.0.12. The same (or similar) problem(s) were reported by (an)other 
poster(s) to this list a couple of weeks ago but there appears to have 
been no discussion since and no resolution? I include details below 
for the information of (i) the developers, and (ii), admins who may 
be considering upgrading to version 2.0.14. I can provide more 
details if necessary.

 The problem I have with version 2.0.14 is that lmtpd crashes 
relatively often when called by the deliver program. To be a little 
more precise, as user cyrus on the imap server, in one test I sent 
user "testuser" ten messages in quick succession, by typing the 
command 

/usr/cyrus/bin/deliver -a testuser -m -- testuser < /tmp/message

ten times, one after another. I found that seven out of the ten 
messages _were_ delivered to  testuser's Cyrus mailstore but three 
of the messages were _lost_ (as if they had disappeared down a 
blackhole). In fact, on inspecting /var/log/imapd.log I find three error 
messages, corresponding to each of those lost messages. One of 
these error messages (with associated text) says:

Jun 19 10:17:22 frosty master[17743]: about to exec 
/usr/cyrus/bin/lmtpd
Jun 19 10:17:22 frosty service-lmtpunix[17743]: executed
Jun 19 10:17:24 frosty lmtpd[17743]: accepted connection
Jun 19 10:17:24 frosty lmtpd[17743]: lmtp connection preauth'd as 
postman
Jun 19 10:17:25 frosty lmtpd[17743]: accepted connection
Jun 19 10:17:25 frosty lmtpd[17743]: lmtp connection preauth'd as 
postman
Jun 19 10:17:26 frosty lmtpd[17743]: accepted connection
Jun 19 10:17:26 frosty lmtpd[17743]: lmtp connection preauth'd as 
postman
Jun 19 10:17:26 frosty master[561]: process 17743 exited, signaled 
to death by 11

For information: this problem is reproducable on other hardware and 
so I fnd it unlikely that it is hardware related!

The machine is running RedHat Linux 7.1.

I compiled and installed Berkeley DB version 3.2.9.

I compiled and installed Cyrus SASL version  1.5.24 with configure 
command:

$ CPPFLAGS=-I/usr/local/BerkeleyDB.3.2/include \
       LDFLAGS=-L/usr/local/BerkeleyDB.3.2/lib \
       ./configure --with-plugindir=/usr/local/lib/cyrus-sasl-1.5.24 \
       --with-dblib=berkeley --disable-krb4 --disable-gssapi \
       --with-rc4 --enable-anon --enable-cram --enable-plain \
       --enable-login --with-pam

I compiled and installed  Cyrus IMAP 2.0.14 with the configure 
command:

$ ./configure --with-dbdir=/usr/local/BerkeleyDB.3.2 \
        --with-auth=unix --with-sasl=/usr/local/lib/cyrus-sasl-1.5.24 \
        --without-libwrap

Please note that I used the same(*) configuration options with Cyrus 
2.0.12, with the same hardware and the same RedHat 7.1 install, 
and this lmptd crashing problem was not apparent. 

(*) The only difference (apart from the version of cyrus imap itself), 
is the "--without-libwrap" option [tcp wrappers] which I chose to use 
with 2.0.14 since I was unable to connect to my 2.0.14 server 
otherwise (has anyone else noticed a problem here, or is it just 
me?). 

Thanks,
Nick.
--
Nicholas Blackaby, ISD, UMIST.
[EMAIL PROTECTED], 0161 200 3208

Reply via email to