On Thu, Jul 26, 2001 at 02:44:17PM +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
Stunnel is interpreting the arg to -l as a single filename, rather
than parsing it into seperate arguments. I believe you want to use
something like this (untested):
/usr/local/sbin/stunnel -p /etc/stunnel.pem -f -d 955 \
-l /var/qmail/bin/qmail-pop3d -- qmail-pop3d Maildir 2>&1
Of course, you could also just use stunnel as a redirector as in:
/usr/local/sbin/stunnel -f -D 4 -p /etc/stunnel.pem -d 995 -r 110
This will simply decrypt and the pass the connection's data over to
your standard pop3 program that runs under tcpserver/inetd/etc.
Clay
PGP signature