i have courier IMAPD installed on an OpenBSD system, running qmail.
everything works wonderfully, i can access folders and so on while using
non-ssl connections (port 143). however, i run into trouble with imap-ssl:
each time i try to connect i get a failure because of a SSL_ROUTINES
mismatch. this is probably simple to fix, but im not really sure where to
go from here.
pid 17850 from 127.0.0.1
ok 17850 localhost:127.0.0.1:993 localhost:127.0.0.1::34552
INFO: Connection, ip=[127.0.0.1]
couriertls: accept: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
end 17850 status 0
so its listening on the right port. i generated the cert with the canned script.
the openssl version on the server is 0.9.7-beta3 (shipped with OpenBSD 3.3).
You need to adjust the TLS_PROTOCOL setting in imapd-ssl.