On 2006-12-21, at 0938, Matt Simpson wrote:
I've just installed Ubuntu Linux 6.06, and qmail patched with John
Simpson's consolidated patch that adds auth, tls, and a bunch of
other good stuff. Qmail-remote crashes. I don't have much more
information other than the "qmail-remote crashed" message in the log.
what version of the patch?
there have been a few bug-fixes in the past few weeks, and one of
them did have to do with qmail-remote. the original TLS+AUTH patch
had qmail-remote sending the STARTTLS command before checking to see
if the clientcert.pem file existed, so if the file wasn't there,
qmail-remote would send the STARTTLS command and then die. version
6ca now checks to make sure the clientcert.pem file exists and is
readable when qmail-remote starts, and if it's not, the STARTTLS
command will never be sent to the remote server.
i don't know if this will fix your issue or not, but if you're using
a version earlier than 6ca it's certainly something to look into.
Unpatched qmail runs ok, so the problem is apparently introduced
by the patch. I've tried patch versions 6c5 and 6ca, and they both
crash.
I run qmail with various versions of this patch on other systems
(Freebsd and Suse Linux), and it doesn't crash. So I don't think
the patch is "bad", but something about installing it on Ubuntu, or
the way I installed it, seems to be causing problems. I did get
some compilation warnings when I compiled qmail, but I also got
warnings when I compiled the unpatched qmail that worked. I'm not
100% sure if all the warnings were the same in both cases.
i seem to be running into a lot of platform-specific or compiler-
specific bugs lately...
--------------------------------------------------
| John M. Simpson - KG4ZOW - Programmer At Large |
| http://www.jms1.net/ <jms1@jms1.net> |
--------------------------------------------------
| Mac OS X proves that it's easier to make UNIX |
| pretty than it is to make Windows secure. |
--------------------------------------------------
PGP.sig
Description: This is a digitally signed message part
|