imaps service does not have to report support of STARTTLS extension.
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 13 Jan 2006 12:57:59 +0000 (12:57 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 13 Jan 2006 12:57:59 +0000 (12:57 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10530 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/configtest.php

index 4028f56612970a58cdc2abe1cbcbf6b250f05546..d9d2a268862063b50e326dbfcae3663ed43a9ff9 100644 (file)
@@ -320,10 +320,7 @@ if($imap_auth_mech == 'login' && stristr($capline, 'LOGINDISABLED') !== FALSE) {
         'Try enabling another authentication mechanism like CRAM-MD5, DIGEST-MD5 or TLS-encryption '.
         'in the SquirrelMail configuration.', FALSE);
 }
-if($use_imap_tls && stristr($capline, 'STARTTLS') === FALSE) {
-    do_err('You have enabled TLS encryption in the config, but the server does not '.
-        'report STARTTLS capability. TLS is probably not supported.', FALSE);
-}
+/* don't test for STARTTLS in CAPABILITY */
 
 /** OK, close connection */
 fputs($stream, "A002 LOGOUT\r\n");