Re: [Mailzu-users] IMAP auth problem
Brought to you by:
trilexcom
|
From: Sam T. <st...@gm...> - 2005-10-16 05:04:56
|
On 10/15/05, Vahur J=F5esalu <va...@jo...> wrote: > Hi, > I am trying to get IMAP auth working. > I use CentOS 4.2, dovecote IMAP server is also running on the same > system (all components of mailzu, amavis, mysql, etc are on the same > system). > every time I try to log on, I get these messages in > /var/log/httpd/error_log : > > [client 192.168.1.40] PHP Notice: Undefined index: domain in > /var/www/html/mailzu/index.php on line 30, referer: > http://192.168.1.40/mailzu/ > [client 192.168.1.40] PHP Notice: Undefined variable: username in > /var/www/html/mailzu/lib/Auth.class.php on line 218, referer: > http://192.168.1.40/mailzu/ > [client 192.168.1.40] PHP Fatal error: Call to undefined function: > imap_open() in /var/www/html/mailzu/lib/IMAPAuth.class.php on line 84, > referer: http://192.168.1.40/mailzu/ > > PHP safe mode is off (in php.ini) and corresponding entry in mailzu conf > is set to 0: > $conf['app']['safeMode'] =3D 0; > > Here are the IMAP auth section and auth type section from conf file: > $conf['auth']['serverType'] =3D 'imap'; > > /*** IMAP Authentication Settings ***/ > // List of IMAP servers and ports (e.g.: 10.1.1.20:143) > $conf['auth']['imap_hosts'] =3D array( '127.0.0.1:143' ); > > $conf['auth']['imap_type'] =3D 'imap'; > > // Domain name part of the email address, (e.g.: example.com) > $conf['auth']['imap_domain_name'] =3D 'actual_domain.actual_tld'; > > Hi Vahur, Did you compile PHP with the IMAP options?: --with-imap[=3DDIR] Include IMAP support. DIR is the c-client install prefix. --with-imap-ssl[=3DDIR] IMAP: Include SSL support. DIR is the OpenSSL install prefix. Sam |