[dev] Re: IMP test.php patch

Vilius Šumskas vilius at lnk.lt
Wed Apr 6 00:51:18 PDT 2005


This message is in MIME format.

--=_20t3o4vk0gsg
Content-Type: text/plain;
	charset=UTF-8;
	format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Chuck Hagenbuch <chuck at horde.org> ra=C5=A1=C4=97:

> Quoting Vilius =C5=A0umskas <vilius at lnk.lt>:
>
>> This patch fixes small typo and adds more possible tests for IMAP/POP3
>> connection.
>
> Eh? It's been imap/ssl/novalidate-cert for years - you can't just leave
> off the ssl...

On my system imap/novalicate-cert is when you want to connect trough 
TLS and imap/ssl/novalicate-cert is for STARTTLS.

I searched for more info on php.net and found that sometimes just /imap 
means that you are connecting through TLS. So in my case I suppose 
/imap/novalidate-cert =3D /imap/tls/novalidate-cert.

New patch attached.

-- 
  Best Regards,

  Vilius

--=_20t3o4vk0gsg
Content-Type: text/plain;
	charset=UTF-8;
	name="test.php.patch"
Content-Disposition: attachment;
	filename="test.php.patch"
Content-Transfer-Encoding: 7bit

Index: test.php
===================================================================
RCS file: /repository/imp/test.php,v
retrieving revision 1.36
diff -u -r1.36 test.php
--- test.php	23 Mar 2005 06:03:44 -0000	1.36
+++ test.php	6 Apr 2005 07:48:28 -0000
@@ -150,14 +150,16 @@
             'pop3' => 110,
             'pop3/notls' => 110,
             'pop3/ssl' => 995,
-            'pop3/ssl/novalidate-cert' => 995
+            'pop3/ssl/novalidate-cert' => 995,
+            'pop3/tls/novalidate-cert' => 995
         );
     } else {
         $conn = array(
             'imap' => 143,
             'imap/notls' => 143,
             'imap/ssl' => 993,
-            'imap/ssl/no-validate-cert' => 993
+            'imap/ssl/novalidate-cert' => 993,
+            'imap/tls/novalidate-cert' => 993
         );
     }
 

--=_20t3o4vk0gsg--



More information about the dev mailing list