On Mon, Aug 19, 2002 at 01:53:32PM +0300, Taymour A. El Erian wrote:
> Hi,
> I got the tcpserver server patched with ssl/tls support and I need
> to use it to offer pop3s on my server (running qmail-pop3), but
> unfortunately there is no documentation for that. Do I need additional
> software like stunnel or just use it with the -n option for certificate.
>
I use tcpserver-ssl with supervise like this:
supervise/pop3ssl> ls
total 12
-rw------- 1 root wheel 1912 Jun 19 13:51 cert.pem
drwxr-xr-x 2 root wheel 512 Jun 19 13:25 env
drwxr-xr-x 3 root wheel 512 Jun 19 13:25 log
-rwxr-xr-x 1 root wheel 343 Jun 19 13:39 run
drwx------ 2 root wheel 512 Jul 5 18:48 supervise
supervise/pop3ssl> more run
#!/bin/sh
exec 2>&1
exec env - PATH="/var/qmail/bin:$PATH" \
envdir ./env \
sh -c 'exec \
${QMAILHOME}/bin/tcpserver_ssl -v -s -Rl 0 \
0 ${PORT_POP_SSL} \
${QMAILHOME}/bin/qmail-popup ${HOST} \
${QMAILHOME}/bin/auth_pop \
${QMAILHOME}/bin/pbsadd \
${QMAILHOME}/bin/qmail-pop3d ./Maildir/ \
'
The certificate is made with "make cert" and copied to
"supervise/pop3ssl". That's it.
--
:wq Claudio