10 seconds is not enough to connect, establish a TLS session (STARTTLS)
and perform the HELO handshake on high-latency networks, like airplane
WiFi. Sending emails works just fine for non-encrypted connections, but
fails with "connection lost" on encrypted ones, even though tcpdump
shows there is traffic going on. We managed to trace this to this
10-second timeout.
Details
Details
Diff Detail
Diff Detail
- Repository
- R733 KSmtp
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Very cool, this might be the issue I've been seeing recently too.
(has this timeout been shortened during some recent rewrite?)
Comment Actions
KSmtp is new since 17.12, previously the timeout was in the SMTP KIO Slave and was probably longer (didn't check).