I am running netqmail patched for with TLS support under sslserver from the ucspi-ssl package.

However, every time a connection is closed the sslserver process segfaults. On the Opteron it also causes messages like

sslserver[13106] general protection rip:2ab6c23cf687 rsp:7fffe89e9308 error:0

to appear in my system log.

Currently tracing the problem, but it seems that the process dedicated to handling the encryption assumes that it has to start an encrypted connection even though it has not been requested to do so. I’ll have to dig around a bit more.

Update: I also have a very trivial patch that fixes the issue. I’ve been running with it for over an year now and there have been no issues so it should be safe.
Here is the file: