Explorar o código

imaps service does not have to report support of STARTTLS extension.

tokul %!s(int64=19) %!d(string=hai) anos
pai
achega
f522edcbf0
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      src/configtest.php

+ 1 - 4
src/configtest.php

@@ -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 '.
         'Try enabling another authentication mechanism like CRAM-MD5, DIGEST-MD5 or TLS-encryption '.
         'in the SquirrelMail configuration.', FALSE);
         '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 */
 /** OK, close connection */
 fputs($stream, "A002 LOGOUT\r\n");
 fputs($stream, "A002 LOGOUT\r\n");