Re: [vchkpw] pop3s hangs when connection opens

2005-11-20 Thread Fabio Varesano
Simply rebooting the sistem let pop3s works...
really don't know why!

Fabio


Fabio Varesano wrote:
 Hi everybody!
 
 I'm having problems setting up an pop3s service.
 
 I followed http://www.shupp.org/toaster/ step by step.
 
 I can connect to port 995 for pop3s but then it seems
 that there isn't a service waiting for something!
 
 This is what my pop3sd log looks.
 Seems that stunnel dies for an error on the stunnel script.
 
 @4000437e8d621bd3d914 tcpserver: status: 1/40
 @4000437e8d621bd9248c tcpserver: pid 1478 from 151.44.x.x
 @4000437e8d621bdc87bc tcpserver: ok 1478 0:217.19.x.x:995
 :151.44.x.x::40632
 @4000437e8d621c8a34ac 2005.11.19 03:26:32 LOG3[1478:16384]: -f: No
 such file or directory (2)
 @4000437e8d621cc3366c
 @4000437e8d621cc6b4f4 Syntax:
 @4000437e8d621cca27c4 stunnel [filename] | -help | -version | -sockets
 @4000437e8d621ccd870c filename- use specified config file
 instead of /etc/stunnel/stunnel.conf
 @4000437e8d621cd0de84 -help   - get config file help
 @4000437e8d621cd441b4 -version- display version and defaults
 @4000437e8d621cd6f51c -sockets- display default socket options
 @4000437e8d621ce744e4 tcpserver: end 1478 status 256
 @4000437e8d621ce76fdc tcpserver: status: 0/40
 
 
 This is my /service/qmail-pop3ds/run
 
 #!/bin/sh
 
 VPOPMAILUID=`id -u vpopmail`
 VPOPMAILGID=`id -g vpopmail`
 
 exec /usr/local/bin/tcpserver -l 0 -R -H -v\
 -u$VPOPMAILUID -g$VPOPMAILGID 0 995\
 /usr/sbin/stunnel /var/qmail/control/pop3ds.conf 21
 
 and this is /var/qmail/control/pop3ds.conf
 
 cert = /var/qmail/control/servercert.pem
 exec = /var/qmail/bin/qmail-popup
 execargs = qmail-popup `hostname` /home/vpopmail/bin/vchkpw
 /var/qmail/bin/qmail-pop3d Maildir
 foreground = yes
 
 
 Somebody has some hints?
 
 Fabio
 


[vchkpw] pop3s hangs when connection opens

2005-11-18 Thread Fabio Varesano
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi everybody!

I'm having problems setting up an pop3s service.

I followed http://www.shupp.org/toaster/ step by step.

I can connect to port 995 for pop3s but then it seems
that there isn't a service waiting for something!

This is what my pop3sd log looks.
Seems that stunnel dies for an error on the stunnel script.

@4000437e8d621bd3d914 tcpserver: status: 1/40
@4000437e8d621bd9248c tcpserver: pid 1478 from 151.44.x.x
@4000437e8d621bdc87bc tcpserver: ok 1478 0:217.19.x.x:995
:151.44.x.x::40632
@4000437e8d621c8a34ac 2005.11.19 03:26:32 LOG3[1478:16384]: -f: No
such file or directory (2)
@4000437e8d621cc3366c
@4000437e8d621cc6b4f4 Syntax:
@4000437e8d621cca27c4 stunnel [filename] | -help | -version | -sockets
@4000437e8d621ccd870c filename- use specified config file
instead of /etc/stunnel/stunnel.conf
@4000437e8d621cd0de84 -help   - get config file help
@4000437e8d621cd441b4 -version- display version and defaults
@4000437e8d621cd6f51c -sockets- display default socket options
@4000437e8d621ce744e4 tcpserver: end 1478 status 256
@4000437e8d621ce76fdc tcpserver: status: 0/40


This is my /service/qmail-pop3ds/run

#!/bin/sh

VPOPMAILUID=`id -u vpopmail`
VPOPMAILGID=`id -g vpopmail`

exec /usr/local/bin/tcpserver -l 0 -R -H -v\
-u$VPOPMAILUID -g$VPOPMAILGID 0 995\
/usr/sbin/stunnel /var/qmail/control/pop3ds.conf 21

and this is /var/qmail/control/pop3ds.conf

cert = /var/qmail/control/servercert.pem
exec = /var/qmail/bin/qmail-popup
execargs = qmail-popup `hostname` /home/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir
foreground = yes


Somebody has some hints?

Fabio

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDfp1j0BeJLLhkg9ERAlPnAJ4tor7OurrqX7YR3Ng8jsGVSeeRXQCaAw9V
cMy2BZ18cDtDfehxKxNuXbk=
=5K1P
-END PGP SIGNATURE-