phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] problem with UWash imaps as authentication


From: Chris Weiss
Subject: Re: [Phpgroupware-developers] problem with UWash imaps as authentication server
Date: Fri, 03 May 2002 19:40:41 +0000

for those unfamiliar, this seems to be for IMAPS, or IMAP+SSL

Tom Gasaway (address@hidden) wrote*:
>
>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 mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/phpgroupware-developers
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]