How did you apply the patch over qmailrocks installation?
Did you have any error from patch?
You should at least examine smtp_rcpt and post it.
Ciao,
Tonino
At 22.44 28/04/2005, you wrote:
> *exactly*? Compile qmail without and '-O' and with '-g2' and run > qmail-smtpd in 'dbg' (or similar). > Use 'strace' or 'truss' (with "follow fork" option)
I'm obviously abit over my head here on the Linux platform. :-) I don't have truss or dbg on my machine. I have strace however but I didn't get any smarter. Removed -O2 from conf-cc, touched *.c and ran make but strace didn't display anything more.
Part of strace output: ------------------------------------- write(1, "220 mx2.example.com ESMTP\r\n", 22220 mx2.example.com ESMTP ) = 22 alarm(0) = 1200 alarm(1200) = 0 read(0, helo "helo\n", 1024) = 5 alarm(0) = 1197 alarm(1200) = 0 write(1, "250 mx2.example.com\r\n", 16250 mx2.example.com ) = 16 alarm(0) = 1200 alarm(1200) = 0 read(0, mail "mail\n", 1024) = 5 alarm(0) = 1199 alarm(1200) = 0 write(1, "250 ok\r\n", 8250 ok ) = 8 alarm(0) = 1200 alarm(1200) = 0 read(0, rcpt "rcpt\n", 1024) = 5 alarm(0) = 1197 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++
The lines starting with "read(0, " is followed by my input. I have no idea if this helps anyone see what's wrong though.
Sorry for being a complete newbie on this...
Regards, Glenn F. Henriksen