[vchkpw] Re: [SPAM] odd problem after OS upgrade
On 06/21/2013 08:54 PM, Jeremy Kister wrote: I have qmail 1.03 with several patches including qmail-smtpd-auth-0.4.3 and vpopmail 5.4.33. After upgrading Debian 6 - 7, I broke SMTP-AUTH *only* when using stunnel for SSL. When trying to auth over stunnel4, i see: 454 oops, problem with child and I can't auth (#4.3.0) syslog shows: Jun 21 23:19:29 s4 vpopmail[3080]: vchkpw-smtps: (PLAIN) login success u...@example.com:10.36.87.4 using smtp-auth on port 25 or 587 works fine. /service/qmail-smtpd-ssl/run: http://jeremy.kister.net/tmp/auth/qmail-smtpd-ssl-run /usr/local/etc/stunnel/smtps.conf: http://jeremy.kister.net/tmp/auth/smtps.conf i modified smtps.conf to use strace like: exec = /usr/bin/strace execargs = /usr/bin/strace -ff -o /tmp/vchkpw.dump /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true the dumps are at: http://jeremy.kister.net/tmp/auth/strace/ i tried increasing just removing softlimit. i tried recompiling/reinstalling vpopmail I dont think the problem is with stunnel since the SSL layer is working fine. I'm out of ideas. More eyes please ? It seems peculiar to me that the log shows login success, but the oops message says it can't auth. I'm not very familiar with the inner workings of vpopmail though. Have you found where in the code the oops messages is being issued? -- -Eric 'shubes' !DSPAM:51c5b3d734139722810834!
Re: [vchkpw] odd problem after OS upgrade (hey, Tom, Ken, jkitchen: around?)
On 6/22/2013 10:26 AM, Eric Shubert wrote: Have you found where in the code the oops messages is being issued? yes. it complains only here: if (wait_pid(wstat,child) == -1) return err_child(); if (wait_crashed(wstat)) return err_child(); the wait_pid is when everything goes fubar. i'm not even sure it's a vpopmail problem, i suppose i may need a cross post on the qmail list. -- Jeremy Kister http://jeremy.kister.net./ !DSPAM:51c6407234139947713131!
Re: [vchkpw] odd problem after OS upgrade (hey, Tom, Ken, jkitchen: around?)
On 6/22/2013 8:26 PM, Jeremy Kister wrote: i'm not even sure it's a vpopmail problem, i suppose i may need a cross post on the qmail list. hrm. i replaced vchkpw with checkpasswd. still broken. -- Jeremy Kister http://jeremy.kister.net./ !DSPAM:51c64afa34132172261138!
Re: [vchkpw] odd problem after OS upgrade (hey, Tom, Ken, jkitchen: around?)
Did you recompile qmail and vpopmail after the OS upgrade? I'm wondering if it's something odd where the size of some data type changed from 32 to 64 bits after the OS upgrade, and one program is using the new size (perhaps because of a dynamically linked library) and the other is still using the old size. That's my best guess. I haven't been doing POSIX development in a long time, and even when I did I didn't wade too far into spawning children and exit codes. But it seems like the successful exit code isn't being interpreted correctly on qmail-smtpd. -Tom On Jun 22, 2013, at 6:11 PM, Jeremy Kister wrote: On 6/22/2013 8:26 PM, Jeremy Kister wrote: i'm not even sure it's a vpopmail problem, i suppose i may need a cross post on the qmail list. hrm. i replaced vchkpw with checkpasswd. still broken. -- Jeremy Kister http://jeremy.kister.net./ !DSPAM:51c68c1e34131709335937!