Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

About 95% of outgoing mail goes through, but I get sporadic undeliverable mail notifications while trying to connect to other mail servers.

>>> STARTTLS
<<< 500 couriertls: connect: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number


Courier 0.58.0
Courier Authlib 0.62.1
OpenSSL 0.9.8j

Where should I start to fix this issue?

share|improve this question

2 Answers 2

Looks like there is a SSL version mismatch. Looks like your server is trying to handshake mail in v3 format, when the receiving server probably only accepts v2.

You should try enabling both v2 and v3 handshaking for your server.

share|improve this answer
    
Strange enough I thought I had done that, esmtpd config file has a line TLS_PROTOCOL=SSL23 which means SSL23 - either SSLv2 or SSLv3. Will look further in that direction, thanks –  Wil May 29 '09 at 13:55
    
I use this on my mailserver without a problem. TLS_PROTOCOL=SSL3 TLS_STARTTLS_PROTOCOL=TLS1 –  Dereck Martin May 29 '09 at 14:11

make sure the following line is correct in /etc/courier/imapd-ssl:
TLS_STARTTLS_PROTOCOL=SSL3

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.