On Sun, Oct 15, 2023 at 11:17:14AM +0200, Jarod G. wrote: > However, for some unknown reason, the connection close immediately after > being opened due to this error : > > >Oct 15 11:09:22 compa smtpd[39586]: 764cc496537991dd smtp connected > >address=[some kind of ipv6] host=<unknown> > >Oct 15 11:09:22 compa smtpd[39586]: 764cc496537991dd smtp disconnected > >reason="io-error: handshake failed: unexpected EOF"
The above error message suggests that the TCP connection succeeded, but the TLS handshake was interrupted before it completed. You can demonstrate this quite easily locally by adding: listen on ::1 smtps pki <any_valid_pki> and then doing $ telnet ::1 465 Trying ::1... Connected to ::1. Escape character is '^]'. ^] telnet> quit Connection closed. The log will show the same error, handshake failed: unexpected EOF. What happens if you connect to port 465 of node A from node B using netcat with the -v and -c options?