Re: [Mailzu-users] IMAP auth problem
Brought to you by:
trilexcom
|
From: <va...@jo...> - 2005-10-16 08:18:36
|
Sam Tran wrote: > On 10/15/05, Vahur J=F5esalu <va...@jo...> wrote: > =20 >> 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 co= nf >> 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'; >> >> >> =20 > > 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 > =20 Hi Sam, PHP was installed together with the system, so I did not compile it=20 myself. But phpinfo() shows that imap support is compiled in. From phpinfo.php: ... '--with-imap=3Dshared' '--with-imap-ssl' ... Maybe it is something to do with installed Apache being version=20 2.0.52-19.ent.centos4 together with php 4.3.9. As Eric Alexander pointed=20 out in his post - he couldn't get it working also... :( I can post the whole output of phpinfio() , if that helps. Vahur |