For anyone having this same problem, here is the fix, or at least it was
on my box.

Modify the file Makefile in the netqmail directory and look for the
line:
VPOPMAIL_LIBS=`head -1 $(VPOPMAIL_HOME)/etc/lib_deps`

Change this to read (this is all on 1 line):
VPOPMAIL_LIBS=-lz -lm -lcrypt -L$(VPOPMAIL_HOME)/lib -lvpopmail
-lmysqlclient

Save and run 'make clean; make' and you should be good to go.

For some reason, and I can't seem to figure out why, when you use the
vpopmail lib_deps it forces the mysql lib directory to /usr/lib/mysql
which on my system is the 5.0.20 libs.  Letting the system decide on
it's own by using the compat libs out of /usr/lib works.  I'm not sure
where the problem is coming into play, but running a gdb traces the
segfault to the SSL_use_RSAPrivateKey_file func in libssl.  Doesn't
matter what version of libssl it is either, I tried both 0.9.7a, 0.9.7k,
and 0.9.8c.  Just thought I would throw that in as a fix in case
somebody else experiences this problem.

Ed.


On Fri, 2006-09-22 at 02:17 -0500, Ed McLain wrote:
> I'm having this exact same problem.  Anyone found a rhyme or reason to
> it yet?
> 
> 
> On Mon, 2006-07-03 at 15:45 -0400, Ingo Claro wrote:
> > here goes the same, but for the RHEL4U3 machine:
> > 
> > select(1, [0], NULL, NULL, {1167, 816000}) = 1 (in [0], left {1163,
> > 910000})
> > read(0, "starttls\r\n", 1024)           = 10
> > brk(0)                                  = 0x984f000
> > brk(0x9870000)                          = 0x984f000
> > mmap2(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
> > -1, 0) = 0xb7e88000
> > open("control/clientca.pem", O_RDONLY)  = -1 ENOENT (No such file or
> > directory)
> > open("/dev/urandom", O_RDONLY)          = 3
> > read(3, "\361\250\352\276\200\244\265\tV\225f\35\0257\27\213d\370"...,
> > 32) = 32
> > open("control/servercert.pem", O_RDONLY) = 4
> > --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> > 
> > 
> > 
> > regards,
> > 
> > 
> > 
> > 
> > Ingo Claro F.
> > Gerente de
> > Operaciones
> > [EMAIL PROTECTED]
> > (+56-2) 43 00 155
> > 
> > 
> >    NetRed S.A.
> >  Certificado ISO
> >     9001:2000
> > 
> > 
> > Jeremy Kitchen escribió: 
> > > On Friday 30 June 2006 12:57, Ingo Claro wrote:
> > >   
> > > > Jeremy:
> > > > 
> > > > I don't know how to make that, if you provide some basic instructions I
> > > > can do it. I must do that before or after the crash?
> > > > 
> > > > Note that i am also installing a RHEL 4 U3 and have the same problems..
> > > > Anything else I can test I'll be happy to provide.
> > > > I have another instalation in RHEL U1, with mysql but in the same
> > > > machine, so it uses socket instead of tcp. And is operates without
> > > > problems.
> > > >     
> > > 
> > > then you'll want to use strace, which should be installed.  if it isn't, 
> > > install the strace package from your distribution.
> > > 
> > > after that.. telnet to your smtp server, then in another terminal find 
> > > the pid 
> > > of the qmail-smtpd instance you're connected to...
> > > 
> > > strace -o /tmp/strace.out -p <pid>
> > > 
> > > make it crash
> > > gzip and post on the web
> > > send url to here.
> > > 
> > > -Jeremy
> > > 
> > >   
-- 
Thanks,
Ed McLain
Sr. Colocation Engineer
TekLinks / High Speed Solutions
[EMAIL PROTECTED]
205.314.6600

Reply via email to