Hi,

fetchmail does not work together with stunnel when useing TLS1
encryption. The attached patch is from
https://lists.berlios.de/pipermail/fetchmail-users/2007-December/001396.html

Testet with OpenBSD (4.3 and) 4.4 on i386 and stunnel 4.25.

Regards
  Dieter
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("");

Reply via email to