Browse Source

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

tokul 19 năm trước cách đây
mục cha
commit
f522edcbf0
1 tập tin đã thay đổi với 1 bổ sung4 xóa
  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 '.
         '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");