Bug#459323: exim4: Incredimail problem sending email using Exim4 SMTP over SSL / TLS error on connection from [ip.ad.dr.ess] (gnutls_handshake): A TLS packet with unexpected length was received.

Simon Josefsson simon at josefsson.org
Sun Jan 6 18:04:03 UTC 2008


"Andrew McGlashan" <andrew.mcglashan at affinityvision.com.au> writes:

> Simon Josefsson wrote:
>> How does your exim TLS configuration look like?  Is it really using
>> the same filenames?
>
> Sorry, I am guessing on the ca.pem file -- but the other two (cert and
> key) are in my config as follows:
> MAIN_TLS_CERTIFICATE = CONFDIR/exim.crt
> MAIN_TLS_PRIVATEKEY = CONFDIR/exim.key

Thanks.  Great.  I suspect the problem is the same as for TheBat, i.e.,
that GnuTLS sends a certificate request and IM can't handle it.  Can you
try to add --disable-client-cert to:

> www:~# gnutls-serv --port 4465 --debug 4711 \
>>  --x509certfile /etc/exim4/exim.crt \
>>  --x509keyfile  /etc/exim4/exim.key \
>>  --x509cafile   /etc/ssl/certs/ca.pem

And try again?

/Simon





More information about the Pkg-exim4-maintainers mailing list