Problem authenticating pop3/ssl using imp 2.3.7

Wes Parker wesp@drm207b.utsi.edu
Tue, 28 Aug 2001 21:15:04 -0500


System:

Linux 2.4.6
Apache 1.3.20
php 4.0.7-dev
openssl 0.9.6a
mod_ssl-2.8.4-1.3.20
imap-2001.BETA.SNAP-0106252013
mysql-3.23.39

php configured with

./configure --with-zlib --with-mm --with-mysql=/usr/local/mysql 
--with-mcal=../libmcal --with-ldap --with-imap-ssl=../imap --with-gettext 
--enable-ftp --with-db3=/usr/local/BerkeleyDB.3.2/ --with-apache=../apache

(note:configured without mcrypt, which was screwing things up).

mod_ssl configured with

./configure --with-apache=../apache --with-ssl=../openssl-0.9.6a 
--with-mm=../mm-1.1.3 --with-crt=/usr/local/apache/conf/ssl.crt 
--with-key=/usr/local/apache/conf/ssl.key --prefix=/usr/local/apache 
--enable-shared=ssl .

Problem:

Using IMP, I can log in to IMAP and POP3 mail servers with no problem.  When I 
try to log in using pop/ssl, I return to the login screen and get the message

"Login failed for some reason. Most likely
your username or password was entered
incorrectly."

The apache access log shows the following:

xxx.xxx.xxx - - [28/Aug/2001:21:03:28 -0500] "GET /horde/imp HTTP/1.0" 301 307 
"-" "Mozilla/4.78 [en] (X11; U; Linux 2.4.6 i686)"
xxx.xxx.xxx - - [28/Aug/2001:21:03:29 -0500] "GET /horde/imp/ HTTP/1.0" 302 0 
"-" "Mozilla/4.78 [en] (X11; U; Linux 2.4.6 i686)"
xxx.xxx.xxx - - [28/Aug/2001:21:03:29 -0500] "GET /horde/imp/redirect.php?Horde
=17c59c5cf8ad010ef86182ee8bbbecc6 HTTP/1.0" 302 0 "-" "Mozilla/4.78 [en] (X11; 
U; Linux 2.4.6 i686)"
xxx.xxx.xxx - - [28/Aug/2001:21:03:29 -0500] "GET /horde/imp/login.php?Horde=17
c59c5cf8ad010ef86182ee8bbbecc6 HTTP/1.0" 200 4757 "-" "Mozilla/4.78 [en] (X11; 
U; Linux 2.4.6 i686)"
xxx.xxx.xxx - - [28/Aug/2001:21:03:29 -0500] "GET /horde/css.php?app=imp 
HTTP/1.0" 200 2630 "-" "Mozilla/4.78 [en] (X11; U; Linux 2.4.6 i686)"
xxx.xxx.xxx - - [28/Aug/2001:21:03:38 -0500] "POST /horde/imp/redirect.php 
HTTP/1.0" 302 0 "http://xxx.xxx.xxx/horde/imp/login.php?Horde=17c59c5cf8ad010ef
86182ee8bbbecc6" "Mozilla/4.78 [en] (X11; U; Linux 2.4.6 i686)"
xxx.xxx.xxx - - [28/Aug/2001:21:03:38 -0500] "GET /horde/imp/login.php?reason=f
ailed&imapuser=yyyy&server=popssl HTTP/1.0" 200 4918 
"http://xxx.xxx.xxx/horde/imp/login.php?Horde=17c59c5cf8ad010ef86182ee8bbbecc6"
 "Mozilla/4.78 [en] (X11; U; Linux 2.4.6 i686)"
xxx.xxx.xxx - - [28/Aug/2001:21:03:39 -0500] "GET /horde/css.php?app=imp 
HTTP/1.0" 200 2630 "-" "Mozilla/4.78 [en] (X11; U; Linux 2.4.6 i686)"

The apache error log shows nothing.

The php error log shows:

[28-Aug-2001 21:03:38] PHP Warning:  Can't open mailbox 
{xxx.xxx.xxx:995/pop3/ssl/novalidate-cert}INBOX: invalid remote specification 
(errflg=2) in Unknown on line 0

The imp log shows:

Aug 28 21:03:29 IMP [info] xxx.xxx.xxx.xxx login
Aug 28 21:03:38 IMP [info] FAILED LOGIN xxx.xxx.xxx.xxx to 
xxx.xxx.xxx:995[pop3/ssl/novalidate-cert] as yyyy
Aug 28 21:03:38 IMP [info] xxx.xxx.xxx.xxx failed

I have verified that I can access the pop/ssl server using different mail 
clients.

Any ideas?  I'm stumped.  I've seen a similar problem to this in the mail 
archives with imap/ssl, ( http://marc.theaimsgroup.com/?l=imp&m=99537754608082&
w=2 ) but I didn't see a resolution given.

TIA-

Wes