Hi,

I am using qmailldap.
I have courier-imap working on port 143 with the auth_imap from
qmailldap, but I can't get it working on port 993.
I have tried different possibilities and checked the logfile to
see which possiblity comes closest to working.
below is the last one I have tried.

        #
        # Enable encrypted imap4 Service
        #
        if [ -x /usr/local/sbin/imaplogin ]; then
                /usr/bin/env - /bin/sh -c " . /usr/local/etc/imapd ; \
                . /usr/local/etc/imapd-ssl ; \
                IMAP_TLS=1; export IMAP_TLS; \
                /usr/local/bin/tcpserver -v -c 10 -l localhost.localnet -R 127.0.0.1 
993 \
                /usr/local/bin/couriertls -server -tcpd \
                /usr/local/sbin/imaplogin \
                /var/qmail/bin/auth_imap \
                /usr/local/bin/imapd ./Maildir/ 2>&1 | \
                /var/qmail/bin/splogger imapd-ssl"  &

this is the error I see in mail.log

May 11 12:33:56 speed imapd-ssl: [ID 748625 mail.info] 1021113236.622491 tcpserver: 
pid 9097 from 127.0.0.1
May 11 12:33:56 speed imapd-ssl: [ID 748625 mail.info] 1021113236.623576 tcpserver: ok 
9097 localhost:127.0.0.1:993 localhost.localnet:127.0.0.1::40702
May 11 12:33:56 speed imapd-ssl: [ID 748625 mail.info] 1021113236.634160 starttls: 
accept: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
May 11 12:33:56 speed imapd-ssl: [ID 748625 mail.info] 1021113236.642183 tcpserver: 
end 9097 status 256

bye

Reply via email to