I've found the following patch is necessary so I can use secure IMAP
over tunneled connections:

--- drv_imap.c.~1.26.~  2006-03-21 15:03:21.000000000 -0500
+++ drv_imap.c  2006-05-03 13:58:42.000000000 -0400
@@ -1290,14 +1290,15 @@
 
                ctx->buf.sock.fd = s;
 
+       }
+
 #if HAVE_LIBSSL
-               if (srvc->use_imaps) {
-                       if (start_tls( ctx ))
-                               goto bail;
-                       use_ssl = 1;
-               }
-#endif
+       if (srvc->use_imaps) {
+               if (start_tls( ctx ))
+                       goto bail;
+               use_ssl = 1;
        }
+#endif
 
        /* read the greeting string */
        if (buffer_gets( &ctx->buf, &rsp )) {

                                                - Ted


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to