Attempting to synchronize local mbox against remote imap4d server from the GNU mailutils package results in the following, followed by a long timeout and failure.
Synchronizing stores "local-inbox" <-> "lawrence-inbox"...
Opening {host.name:143/user=i/tls/imap} with options 67
[Trying IP address [217.150.250.121]]
* OK IMAP4rev1
[IMAP4rev1]
00000000 CAPABILITY
* CAPABILITY IMAP4rev1 NAMESPACE IDLE X-VERSION STARTTLS AUTH=GSSAPI AUTH=ANONYMOUS AUTH=EXTERNAL AUTH=LOGIN AUTH=PLAIN AUTH=SECURID AUTH=DIGEST-MD5 AUTH=CRAM-MD5
00000000 OK CAPABILITY Completed
00000001 STARTTLS
00000001 OK STARTTLS Begin TLS negotiation
I've even checked what's happening at the network level after this, and neither the client or the server appear to send anything after the above.