On Thu, Jul 26, 2001 at 03:37:41PM +0200, Per-fredrik Pollnow (EPK) wrote:
> > Hi,
> >
> > I was wondering if there is anyone(probebly someone) who is using stunnel for the
>qmail-pop3d server. I get this error message on the server all the time when I tray
>to connect to my pop3d on port 995 with my SSL client.
> >
> > I start the stunnel like this: /usr/local/sbin/stunnel -p /etc/stunnel.pem -l
>"/var/qmail/bin/qmail-pop3d Maildir 2>&1" -f -d 995
> >
> > And this is the screenshot from the foreground mode:
> > 2001.07.26 15:24:31 LOG5[27215:73728]: Using 'qmail-pop3d Maildir 2>&1' as
>tcpwrapper service name
> > 2001.07.26 15:24:31 LOG5[27215:73728]: stunnel 3.16 on i386-unknown-openbsd2.9
>PTHREAD+LIBWRAP
> > 2001.07.26 15:25:58 LOG5[27215:75776]: qmail-pop3d Maildir 2>&1 connected from
>136.225.42.196:4497
> > 2001.07.26 15:25:58 LOG3[27961:75776]: execvp: No such file or directory (2)
> > 2001.07.26 15:29:32 LOG3[27215:77312]: SSL_accept: Peer suddenly disconnected
> > 2001.07.26 15:29:32 LOG3[27215:75776]: select: Interrupted system call (4)
> > 2001.07.26 15:29:32 LOG5[27215:75776]: Connection reset: 0 bytes sent to SSL, 0
>bytes sent to socket
> >
> > I'm using qmail on OpenBSD2.9..
> >
> > Anyone who knows what's wrong?
IIRC, stunnel just wraps an existing daemon, no? Take the example 'run'
script from LWQ for pop3 service, and add the stunnel commands, so that
the old 'run' script is passed to stunnel as the '-l' argument.
--
Greg White