Hi,
I have installed courierimap which works perfectly
using the default rc.d/init.c startup scripts which
use couriertcpd. Both unsecure AND SSL imap work
perfectly.
When I attempt to use tcpserver to boot courier imap
over unsecure imap, it too works perfectly.
However, when I attempt to use tcpserver to boot
courier imap over SSL imap (i.e. port 993). It gives
me a strange error:
starttls: accept: error:1408F10B:SSL
routines:SSL3_GET_RECORD:wrong version number
in the tcpserver log file.
the run file I am using is this:
#!/bin/sh
exec_prefix=/usr/local/imap
. /usr/local/imap/etc/imapd
. /usr/local/imap/etc/imapd-ssl
/usr/local/bin/tcpserver -c 100 -l 0 -v -R 0 imaps \
${exec_prefix}/bin/couriertls -tcpd -server \
${exec_prefix}/sbin/imaplogin \
/var/qmail/bin/auth_imap \
${exec_prefix}/bin/imapd Maildir 2>&1
What perplexes me is that I dont see how it can be an
SSL version problem when it works perfectly when
called from couriertcpd.