On 2010-04-10 at 13:35 +0200, cloud@??? wrote:
> I am now using debian squeeze as distribution (lenny before). I recompiled
> exim4 (4.71) to use openssl as library and exim crashed the same way. To
> be sure i compiled exim from trunk (4.72) and it crashed the same way. I
> tried your tls_require_ciphers string and it worked!
>
> I suspect, the receiving server uses an anonymous cipher to encrypt the
> connection and if i read correctly
> http://www.openssl.org/docs/ssl/SSL_get_peer_certificate.html server_cert
> in tls_client_start is NULL.
I think that you're right. Best fix appears to be to just set
tls_peerdn to empty if there's no peer cert available.
If you have time, could you please fetch Exim from trunk again, without
the explicit tls_require_ciphers string?
Thanks,
-Phil