Re: stunnel/POP3 hanging ??

2001-07-30 Thread Andrea Cerrito

mmmhhh, looks like a wrong startup script!

 Here is my invocation of stunnel:

 #!/bin/sh
 exec /usr/local/bin/softlimit -m 300 \
 /usr/local/bin/tcpserver -v -likauni.vrona.com -H -R 0 pop3 \
 /usr/local/sbin/stunnel -p /etc/stunnel.pem \
 -l /var/qmail/bin/qmail-popup -- qmail-popup ikauni.vrona.com \
 /bin/checkpassword /usr/sbin/relay-ctrl-allow /var/qmail/bin/qmail-pop3d
 Maildir 21

Try something like:

[snip] /usr/local/sbin/stunnel -p /etc/stunnel.pem -N spop3 -f -l
/var/qmail/bin/qmail-popup -- qmail-popup [snip]

Hope it helps.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372





Re: stunnel/POP3 hanging ??

2001-07-30 Thread Henning Brauer

On Mon, Jul 30, 2001 at 10:16:44AM +0200, Andrea Cerrito wrote:
 mmmhhh, looks like a wrong startup script!
 
  Here is my invocation of stunnel:
 
  #!/bin/sh
  exec /usr/local/bin/softlimit -m 300 \
  /usr/local/bin/tcpserver -v -likauni.vrona.com -H -R 0 pop3 \
  /usr/local/sbin/stunnel -p /etc/stunnel.pem \
  -l /var/qmail/bin/qmail-popup -- qmail-popup ikauni.vrona.com \
  /bin/checkpassword /usr/sbin/relay-ctrl-allow /var/qmail/bin/qmail-pop3d
  Maildir 21
 
 Try something like:
 
 [snip] /usr/local/sbin/stunnel -p /etc/stunnel.pem -N spop3 -f -l
 /var/qmail/bin/qmail-popup -- qmail-popup [snip]

No. Running stunnel not as daemon but under tcpserver is a good idea.
Maex posted a good example script a few days ago.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: stunnel/POP3 hanging ??

2001-07-30 Thread Andrea Cerrito

Probably a misunderstood.

  Try something like:
 
  [snip] /usr/local/sbin/stunnel -p /etc/stunnel.pem -N spop3 -f -l
  /var/qmail/bin/qmail-popup -- qmail-popup [snip]

 No. Running stunnel not as daemon but under tcpserver is a good idea.
 Maex posted a good example script a few days ago.

The first [snip] was the tcpserver command, the second one was the
qmail-command.
I just said that stunnel was bad invoked, infact I add the -N (servicename)
and the -f switch.

This is my run script under tcpserver, uptime 83days with no problems.

exec /usr/bin/env - PATH=/var/qmail/bin:$PATH \
/usr/local/bin/tcpserver -v -c 50 -H -P -R -l hostname ip port \
/usr/local/stunnel/sbin/stunnel -p /var/qmail/control/spop3.pem \
-N spop3 -f -l /var/qmail/bin/qmail-popup /var/qmail/bin/qmail-popup \
hostname /usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
21

Just to be clear :)
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372





stunnel/POP3 hanging ??

2001-07-28 Thread David Vrona

Hi all,

I've been running a very stable RedHat installation with qmail for some 
time now.

Recently I've tried to install the stunnel wrapper on POP3.

I believe I've done everything as I should but clients cannot successfully 
retrieve e-mail.  It appears that something is hanging during the 
process.  The client program (Eudora) appears to be stuck trying to get e-mail.

On the server side I have the following in the log:

Jul 28 16:39:13 ikauni stunnel[5270]: Using 'qmail-popup' as tcpwrapper 
service name
Jul 28 16:39:13 ikauni stunnel[5270]: stunnel 3.16 on i686-pc-linux-gnu 
PTHREAD+LIBWRAP
Jul 28 16:39:13 ikauni stunnel[5270]: qmail-popup connected from 
192.168.1.3:1307
Jul 28 16:40:16 ikauni stunnel[5270]: SSL_accept: Peer suddenly disconnected

The last line occurs when I force the client to stop trying.

Here is my invocation of stunnel:

#!/bin/sh
exec /usr/local/bin/softlimit -m 300 \
/usr/local/bin/tcpserver -v -likauni.vrona.com -H -R 0 pop3 \
/usr/local/sbin/stunnel -p /etc/stunnel.pem \
-l /var/qmail/bin/qmail-popup -- qmail-popup ikauni.vrona.com \
/bin/checkpassword /usr/sbin/relay-ctrl-allow /var/qmail/bin/qmail-pop3d 
Maildir 21

I wonder if anyone has run into this situation?  I wish I could provide 
more information about what is going on.  I guess they are ways to trace 
this but I don't know how to do it.

Thanks for any ideas.

Dave


--
David Vrona - N9QNZ (Siesta Key, Florida)
PGP Key Fingerprint 42CA F54A A514 7DF7 2032  3F7F 91EB 89CD 1DE8 E856
Join our SETI@home amateur radio team at www.wuies.com




Re: stunnel/POP3 hanging ??

2001-07-28 Thread Lordy

Hi David,

i had a very similar problem with stunnel and POP3 on my mail server.

I installed and run stunnel pretty much the same way you did and tried to 
retrieve
mail with Eudora 5.1 which failed (unfortunately you didn't mention your Eudora
error message so I can't tell if it's the same one).

When I tried to connect with Outlook Express everything works just fine.

I guess this might be a problem in the SSL implementation in Eudora but I'm
not to sure about that. I've tried to find more information on SSL on the 
Qualcomm
pages but they don't provide anything there.

Sorry that I can not help you but let me know if find out anything about 
this issue.

Regards,
Lordy

At 16:15 28.07.2001 -0400, you wrote:
Hi all,

I've been running a very stable RedHat installation with qmail for some 
time now.

Recently I've tried to install the stunnel wrapper on POP3.

I believe I've done everything as I should but clients cannot successfully 
retrieve e-mail.  It appears that something is hanging during the 
process.  The client program (Eudora) appears to be stuck trying to get e-mail.

On the server side I have the following in the log:

Jul 28 16:39:13 ikauni stunnel[5270]: Using 'qmail-popup' as tcpwrapper 
service name
Jul 28 16:39:13 ikauni stunnel[5270]: stunnel 3.16 on i686-pc-linux-gnu 
PTHREAD+LIBWRAP
Jul 28 16:39:13 ikauni stunnel[5270]: qmail-popup connected from 
192.168.1.3:1307
Jul 28 16:40:16 ikauni stunnel[5270]: SSL_accept: Peer suddenly disconnected

The last line occurs when I force the client to stop trying.

Here is my invocation of stunnel:

#!/bin/sh
exec /usr/local/bin/softlimit -m 300 \
/usr/local/bin/tcpserver -v -likauni.vrona.com -H -R 0 pop3 \
/usr/local/sbin/stunnel -p /etc/stunnel.pem \
-l /var/qmail/bin/qmail-popup -- qmail-popup ikauni.vrona.com \
/bin/checkpassword /usr/sbin/relay-ctrl-allow /var/qmail/bin/qmail-pop3d 
Maildir 21

I wonder if anyone has run into this situation?  I wish I could provide 
more information about what is going on.  I guess they are ways to trace 
this but I don't know how to do it.

Thanks for any ideas.

Dave


--
David Vrona - N9QNZ (Siesta Key, Florida)
PGP Key Fingerprint 42CA F54A A514 7DF7 2032  3F7F 91EB 89CD 1DE8 E856
Join our SETI@home amateur radio team at www.wuies.com