Bug#674990: exim breaks (again?) with TLS packet with unexpected length

Norbert PREINING preining at jaist.ac.jp
Tue May 29 05:40:35 UTC 2012

Package: exim4-daemon-light
Version: 4.77-1+b1
Severity: serious
Submitter: Norbert Preining <preining at logic.at>

Hi all,

I have searched the bug database and the web for information, and I cannot
get it to work, exim *always* dies with 

TLS error on connection to xxx.yyy.zzz.www [NN.NN.NN.NN] (gnutls_handshake): A TLS packet with unexpected length was received.

I have found various suggestions, like adding the Debian-exim user
to the group shadow, but none of it helped.

I am just trying to deliver mail to an smtp server here
at work.

Furthermore, I cannot run swaks, it segfaults in libcrypto
(all messed up, really).

When I do 
$ openssl s_client -connect xxx.yyy.zzz.www:587
139642052535976:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:766:
no peer certificate available
No client certificate CA names sent
SSL handshake has read 7 bytes and written 320 bytes
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE

So also this does not help really. 

The remote server is not under my control, but is advertised as
smtp server in my university.

Thanks for any suggestion


More information about the Pkg-exim4-maintainers mailing list