Fix for POP3 by disabling TLS explicitly.
authormoodler <moodler>
Tue, 29 Jul 2003 07:12:31 +0000 (07:12 +0000)
committermoodler <moodler>
Tue, 29 Jul 2003 07:12:31 +0000 (07:12 +0000)
based on this: http://moodle.org/mod/forum/discuss.php?d=1884

auth/pop3/lib.php

index d6eee07..64cc3c4 100644 (file)
@@ -9,7 +9,7 @@ function auth_user_login ($username, $password) {
 
     switch ($CFG->auth_pop3type) {
         case "pop3":
-            $host = "{".$CFG->auth_pop3host.":$CFG->auth_pop3port/pop3}INBOX";
+            $host = "{".$CFG->auth_pop3host.":$CFG->auth_pop3port/pop3/notls}INBOX";
         break;
         case "pop3cert":
             $host = "{".$CFG->auth_pop3host.":$CFG->auth_pop3port/pop3/ssl/novalidate-cert}INBOX";