On Thu, Jul 26, 2001 at 02:44:17PM +0200, Per-fredrik Pollnow (EPK) allegedly 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?

Yes. You need to read the stunnel documentation more
closely. Especially look at the examples in the stunnel man page and
note how the command and arguments after -l are constructed. Also note
how they have to be the last arguments on the command line.

qmail-pop3d works just fine with stunnel - if you get the stunnel
invocation right.


Regards.

Reply via email to