Mailing List Archive

odd problem after OS upgrade
I have qmail 1.03 with several patches including qmail-smtpd-auth-0.5.10

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
user@example.com:10.36.87.4

using smtp-auth without stunnel works fine.

at first, i thought this was a vchkpw problem. but i replaced vchkpw
with checkpasswd and the problem persists.


i have my run file, stunnel config, and strace dumps at:

for vchkpw: http://jeremy.kister.net/tmp/vchkpw/
for checkpasswd: http://jeremy.kister.net/tmp/checkpasswd/


I'm out of ideas. More eyes please ?

--

Jeremy Kister
http://jeremy.kister.net./
Re: odd problem after OS upgrade [ In reply to ]
On 6/22/2013 9:41 PM, Jeremy Kister wrote:
> I'm out of ideas. More eyes please ?

ends up the problem was actually stunnel/openssl. who knows what it was
doing that was causing the tunneled program to behave incorrectly.

for reference:
on debian 6 (squeeze):
sed "s/squeeze/wheezy/g" /etc/apt/sources.list > /tmp/u.tmp
mv /tmp/u.tmp /etc/apt/sources.list
apt-get update
apt-get upgrade
apt-get dist-upgrade
reboot
gives you debian 7 (wheezy)

this came both libssl 0.9.8, libssl 1.0.0, and stunnel 4.53

i ran 'apt-get autoremove libssl0.9.8', and then compiled/installed the
latest stunnel (4.56), and the problem is no more.

who knows.

Greetings to all who are still here,

--

Jeremy Kister
http://jeremy.kister.net./