[imp] failed auth with imap

Karolis list at public.lt
Sun Oct 3 08:57:48 PDT 2004


hey,

I just installed IMP. I can login to the system using IMAP server, but
I can NOT login into it using IMAP server. Playing with it for quite a
while now....

IMAP server is working fine as I can login into it using other
applications.

I am using courier-imap with LDAP auth module. I have set it up to
authenticate using authdaemond.

THe problem appears to be that IMP does not even TRY to authenticate.
It only connects to IMAP server and disconnects at once. Here is the
debug log from IMAP server:

Oct  3 15:16:46 s013 imapd: Connection, ip=[127.0.0.1]
Oct  3 15:16:46 s013 imapd: LOGIN: DEBUG: ip=[127.0.0.1], command=AUTHENTICATE
Oct  3 15:16:46 s013 imapd: LOGIN: DEBUG: ip=[127.0.0.1], command=LOGOUT
Oct  3 15:16:46 s013 imapd: LOGOUT, ip=[127.0.0.1]

It does not even search for my user.

when I try to do an IMP test using horde/test.php, here is the result
that I get:

PHP IMAP Support Test
server="localhost" user="run" mailbox="{localhost:143/imap}INBOX"

array(1) {
  [0]=>
  string(59) "Can not authenticate to IMAP server: Authentication failed."
}


I know for a fact that user / pass combination is correct.

Maybe IMP is trying to use SSL for authentication. I do not need that,
but I have no idea how to disable it from IMP.

here is my apache configure script:
        ./configure --prefix=/usr/local/apache \
        --activate-module=src/modules/php4/libphp4.a \
        --sysconfdir=/usr/local/apache/conf \
        --includedir=/usr/local/apache/include \
        --libexecdir=/usr/local/apache/libexec \
        --enable-module=most \
        --enable-module=php4 \
        --enable-shared=max \
        --disable-module=auth_dbm


here is my PHP configure script:

        ./configure --with-apache=../apache_1.3.31 \
        --with-gettext \
        --with-openssl \
        --with-kerberos \
        --with-imap \
        --without-pgsql \
        --with-mysql \
        --with-gd \
        --with-jpeg-dir=/usr/lib \
        --with-png-dir=/usr/lib \
        --with-zlib-dir=/usr/lib \
        --enable-gd-native-ttf \
        --enable-gd-imgstrttf \
        --with-freetype-dir=/usr/lib \
        --prefix=/usr/local/php4


I have tried searching www for the answer to this but nothing came up
so far. Any help would be appreciated.

thanks,
Karolis



More information about the imp mailing list