[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-developers] problem with UWash imaps as authentication ser
From: |
Tom Gasaway |
Subject: |
[Phpgroupware-developers] problem with UWash imaps as authentication server |
Date: |
Fri, 03 May 2002 13:35:09 -0600 |
I was unable to get user authentication vi Mail to work with my UWash imaps
server
until I added the following code to function authenticate in
phpgwapi/inc/class.auth_mail.inc.php. I hope this is useful and is the correct
way to fix the problem.
Tom Gasaway
--- class.auth_mail.inc.php.orig Tue Apr 30 14:17:12 2002
+++ class.auth_mail.inc.php Fri May 3 13:18:16 2002
@@ -49,6 +49,11 @@
$mailauth =
imap_open('{'.$GLOBALS['phpgw_info']['server']['mail_server'].'/pop3'
.':'.$GLOBALS['phpgw_info']['server']['mail_port'].'}INBOX', $username ,
$passwd);
}
+ elseif
($GLOBALS['phpgw_info']['server']['mail_server_type']=='imaps')
+ {
+ $mailauth =
imap_open('{'.$GLOBALS['phpgw_info']['server']['mail_server'].'/novalidate-cert'
+
.':'.$GLOBALS['phpgw_info']['server']['mail_port'].'}INBOX', $username ,
$passwd);
+ }
else
{
/* assume imap */
- [Phpgroupware-developers] problem with UWash imaps as authentication server,
Tom Gasaway <=