The attached patch should fix this bug, which happens when the CAPA
probe fails.
--
Matthias Andree
Index: pop3.c
===================================================================
--- pop3.c (Revision 5108)
+++ pop3.c (Revision 5109)
@@ -449,7 +449,7 @@
report(stderr, GT_("TLS is mandatory for this session,
but server refused CAPA command.\n"));
report(stderr, GT_("The CAPA command is however
necessary for TLS.\n"));
return ok;
- } else {
+ } else if (maybe_tls(ctl)) {
/* defeat opportunistic STLS */
xfree(ctl->sslproto);
ctl->sslproto = xstrdup("");
@@ -526,7 +526,7 @@
}
}
}
- }
+ } /* maybe_tls() */
#endif /* SSL_ENABLE */
/*