Diego d'Ambra wrote:
Sending an email using tls plugin with qpsmtpd-prefork (revision 936) will result in child exiting next time a client connects with:

[...]

Any thoughts how to fix this?


Ugly fix is to "taste" if e.g. STDIN looks open just before child is going to return to the idle pool - and if not then exit it. Very bad if you only have TLS connections, since every child will terminate after just 1 tour.

Something like...

---snip---
eval {
    fileno(STDIN);
};
if ($@) {
    chomp($@);
    info("filehandle broken probably due to TLS: <$@>");
    exit; #terminate this child
}
---snip---

Best regards,
Diego d'Ambra

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to