The __imap tag (added for the /email webmail client) calls real
SSL_CTX_*/SSL_connect() functions, which live in libssl - not libcrypto
(a separate, lower-level library providing only crypto primitives).
compile only ever linked -lcrypto, so a build from a completely fresh
checkout fails at the final link step:
__imap.o: undefined reference to symbol 'SSL_CTX_free@@OPENSSL_3.0.0'
Reproduced building fresh on a brand-new server (nothing else installed
yet) rather than an incremental rebuild against an already-linked
jet-2.0, which is presumably why this went unnoticed - barant.com's own
production jet-2.0 was likely last linked before __imap needed real SSL
session functions, or was patched by hand at the time without this fix
landing in the committed script.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>