I subscribe to the squirrelmail-users mailing list.
  [ ]  True - No need to CC me when replying
  [X]  False - Please CC me when replying

This bug occurs when I ...
  ... attempt to login.


The description of the bug:
Recent changes to the imap login process completely broke
TLS logins via imap.

I can reproduce the bug by:
Trying to login.

(Optional) I got bored and found the bug occurs in:

functions/imap_general.php

(Optional) I got really bored and here's a fix:

Index: functions/imap_general.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/functions/imap_general.php,v
retrieving revision 1.176
diff -u -r1.176 imap_general.php
--- functions/imap_general.php  29 Oct 2003 19:58:05 -0000      1.176
+++ functions/imap_general.php  29 Oct 2003 22:19:54 -0000
@@ -560,7 +560,7 @@
     if ($use_imap_tls == true) {
         if ((check_php_version(4,3)) and (extension_loaded('openssl'))) {
             /* Use TLS by prefixing "tls://" to the hostname */
-            $server = 'tls://' . $imap_server_address;
+            $server = 'tls://' . $server;
         } else {
             require_once(SM_PATH . 'functions/display_messages.php');
             $string = "Unable to connect to IMAP server!<br>TLS is enabled,
but this " .



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to