From: tokul Date: Fri, 13 Jan 2006 12:57:59 +0000 (+0000) Subject: imaps service does not have to report support of STARTTLS extension. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=cafb13435acfda55eb2f619ac998bc19fa104eb9 imaps service does not have to report support of STARTTLS extension. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10530 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/configtest.php b/src/configtest.php index 4028f566..d9d2a268 100644 --- a/src/configtest.php +++ b/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");