cannot login via IMAPS
rainkid
rainkid@rainkid.com
Mon, 4 Feb 2002 00:03:24 -0500
Hello,
After a clean install of Red Hat 7.2, I installed Apache/PHP/Horde/IMP from
source. IMAPS works just fine from mail clients. SSL certificate is signed
by my own CA.
I cannot, however, get IMP to login via IMAPS. It would either wait forever
for a response, or IMP would return invalid login.
Here are all the relevant config scripts and files:
-----Apache 1.3.22:------------
SSL_BASE=../openssl-0.9.6b/ \
./configure \
--prefix=/usr \
--with-layout=RedHat\
--disable-module=status \
--disable-module=include \
--disable-module=userdir \
--disable-rule=SSL_COMPAT \
--enable-module=so \
--enable-module=env --enable-shared=env \
--enable-module=log_config --enable-shared=log_config \
--enable-module=mime --enable-shared=mime \
--enable-module=negotiation --enable-shared=negotiation \
--enable-module=autoindex --enable-shared=autoindex \
--enable-module=dir --enable-shared=dir \
--enable-module=cgi --enable-shared=cgi \
--enable-module=asis --enable-shared=asis \
--enable-module=actions --enable-shared=actions \
--enable-module=alias --enable-shared=alias \
--enable-module=access --enable-shared=access \
--enable-module=auth --enable-shared=auth \
--enable-module=setenvif --enable-shared=setenvif \
--enable-module=ssl --enable-shared=ssl \
--activate-module=src/modules/perl/libperl.a
----PHP 4.1.1--------
./configure --with-pgsql \
--without-mysql \
--with-imap=/usr/lib \
--with-kerberos=/usr/kerberos \
--with-imap-ssl \
--with-openssl \
--with-apxs \
--with-gettext \
--with-xml \
--enable-debug=no \
--prefix=/usr \
--with-config-file-path=/etc/httpd \
--enable-memory-limit=yes \
--enable-inline-optimizations
----IMP 3.0 server.config----------
$servers['imap/ssl/novalidate-cert'] = array(
'name' => 'IMAPS Server',
'server' => 'domain.com',
'protocol' => 'imap/ssl/novalidate-cert',
'port' => 993,
'folders' => 'mail/',
'namespace' => '',
'maildomain' => 'domain.com',
'smtphost' => 'domain.com',
'realm' => 'domain.com',
'preferred' => ''
);
Horde.log shows:
Feb 03 22:35:13 HORDE [error] [imp] FAILED LOGIN 216.194.0.165 to
domain.com:993[imap/ssl/no-validatecert] as rainkid [on line 332 of
"/home/www/email.os5.com/horde/imp/lib/IMP.php"]
IMP with unencrypted IMAP works just fine. I was also able to connect to my
IMAPS server via demo.horde.org as well. Therefore, I assume it is either a
HORDE/IMP or php problem on my end. Looking through the IMP mailing list
archive, it seems as if other people have had trouble getting IMAPS to work
with Red Hat's imap-devel package.
What am I doing wrong? Is anyone out there running IMP and IMAPS
successfully with Red Hat's imap-devel package?
Thanks in advance for any help!
--implist@rainkid.com