[vchkpw] chkuser and SSL with stunnel

2004-10-15 Thread Florian Munz
Hi,

I finally found the time to install the much needed chkuser-patch and it
is working really good - almost :)

I provide SMTPS (SMTP over SSL on port 456) via stunnel and I have
problems with some mail clients (mainly Thunderbird)

I got the following error-message when sending mail in Thunderbird: 

An error occured while sending mail. The mail server responded: SER
accepted sender: from [EMAIL PROTECTED]:[EMAIL PROTECTED]: remote
[192.168.1.2]:unknown:80.184.128.120 rcpt  : sender accepted. Please
verify that your email address is correct in you Mail preferences and
try again.

So there is some chkuser-ouput coming through, but obviously no
error-message. With Thunderbird and normal SMTP the whole thing is
working fine.

I tested this SSL setup with The Bat! and Apple Mail and there it is
working also.

So is this a bug in Thunderbird or chkuser, anything I can do about
this?

I'm starting stunnel with this supervise-script:

#!/bin/sh
exec env - CHKUSER_START=NONE \
/usr/local/bin/tcpserver -R -H -l 0 -x /etc/tcp.smtp.cdb \
-v -u 90 -g 90 0 smtps /usr/local/sbin/stunnel \
/usr/local/etc/stunnel/smtps.conf

and the following smtps.conf for stunnel

exec = /var/qmail/bin/qmail-smtpd
execargs = qmail-smtpd /var/vpopmail/bin/vchkpw /usr/bin/true


So this is rather strange, isn't it?


Florian


Re: [vchkpw] chkuser and SSL with stunnel

2004-10-15 Thread Jeremy Kitchen
On Friday 15 October 2004 05:26 pm, Florian Munz wrote:
 Hi,

 I finally found the time to install the much needed chkuser-patch and it
 is working really good - almost :)

 I provide SMTPS (SMTP over SSL on port 456) via stunnel and I have
 problems with some mail clients (mainly Thunderbird)

 I got the following error-message when sending mail in Thunderbird:

 An error occured while sending mail. The mail server responded: SER
 accepted sender: from [EMAIL PROTECTED]:[EMAIL PROTECTED]: remote
 [192.168.1.2]:unknown:80.184.128.120 rcpt  : sender accepted. Please
 verify that your email address is correct in you Mail preferences and
 try again.

 So there is some chkuser-ouput coming through, but obviously no
 error-message. With Thunderbird and normal SMTP the whole thing is
 working fine.

can you provide recordio [1] output of the session? (hopefully you're using 
something like sslserver from the ucspi-ssl package [2] to run this ssl 
service and not some patch to qmail-smtpd)

That will help greatly to debug the problem you're having.

-Jeremy

[1]: http://cr.yp.to/ucspi-tcp/recordio.html
[2]: http://superscript.com/ucspi-ssl/sslserver.html

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
   GnuPG Key ID: 481BF7E2 ++ scriptkitchen.com/kitchen.asc


pgpXNJJ8zJs9t.pgp
Description: PGP signature