[imp] Imp 2.2.6 (and previous) problem

daniel huhardeaux daniel.huhardeaux@tootai.com
Wed, 25 Jul 2001 17:20:23 +0200


Check your /etc/pam.d/imapd files if you are working with PAM
authentification. Try to connect by telneting your IMAP server port 143 (or
this one you are using) from himself. You must get welcome issue from IMAP
server. Then try to login with comand

0 login username userpassword

If evrything works fine, you will get message from server like OK login. If
you get it, it means that your authentification is working. If not, check
your files as explained above. To quit telnet, 0 logout.

dh@tootai.com

----- Original Message -----
From: "Michele Albrigo" <albrigo@omega.sci.univr.it>
To: <imp@lists.horde.org>
Sent: Wednesday, July 25, 2001 5:00 PM
Subject: [imp] Imp 2.2.6 (and previous) problem


> Hi all,
> I've a big problem with Imp. I've used Imp 2.2.4 since last week, then
> decided to update the entire webserver (hardware and software). On the
> previous configuration everything worked fine, while now there's something
> broken, and I can't understand where it is.
>
> My previous configuration was:
> Apache 1.3.19+mod_ssl
> Php 4.0.5
> Imp 2.2.4 and Horde 1.2.4
> Kernel 2.2.19 with some patches...
> MySQL 3.23.33
>
> Now I'm running:
> Apache 1.3.20+mod_ssl
> Php 4.0.6
> Imp 2.2.6 and Horde 1.2.6
> Kernel 2.4.6 + getrewted 1.5 security patch.
> MySQL 3.23.39
>
> What happens:
> I can start apache and test horde (horde/test.php3) and everything is
> perfect. If I try to use IMP (horde/imp/index.php3), the page renders fine
> but if I try to log in to the IMAP server it locks up and timeouts. After
> that, if I get back to horde/test.php3 the session test goes timeout (but
> the session instance is created succesfully). If I stop and restart
> apache, the session test works again, but if I try to use IMP it locks up
> again.
>
> I get no error messages in apache/logs/error_log and my syslog says login
> failed. I have no access to the IMAP server I must read mail from, so I
> can't see its logs. I've tried reading mail from another server I've
> configured (which works with IMP 2.2.5 and horde 1.2.5) and it is ok. I've
> tried copying configuration files from that server and I always get the
> same resut (timeout and sessions don't work anymore). I've also tried
> installing IMP 2.2.5, but it locks up the same way.
>
> I've configured PHPLIB to store session data in shared memory, so that I
> should never lose the active_session table in mysql database (I've lost it
> two months ago and it took me a long time to understand where the problem
> was). I've also set up the database as if I used it to store them.
> Sessions work fine (unless I use IMP). If I set up PHPLIB to use mysql as
> session data storage, counter doesn't increment, it just stay at 1
> silently with no errors (and mysql doesn't complain about wrong passwords
> and so on).
>
> Horde reports that my PHP supports everything (except for PostgreSQL, but
> I don't need it). phpinfo() says that IMAP is supported (with SSL too).
> Other web applications I use on the server (phpweblog, phpnuke and others)
> work fine with no problems at all.
>
> I've tried to open my IMAP server from Horde Imp demo site and it works
> right.
>
> My php configure command is this:
>
> ./configure --with-apxs=/usr/local/apache/bin/apxs
> --with-openssl=../openssl-0.9.6b/ --enable-bcmath --enable-calendar
> --enable-ftp --with-ldap=/usr/local/openldap
> --with-mysql=/usr/local/mysql --enable-versioning --enable-track-vars
> --with-gd --with-mm=/usr/local/lib/mm --with-jpeg-dir=/usr/lib/
> --with-png-dir=/usr/lib/ --enable-sysvsem --enable-sysvshm
> --enable-sockets --with-zlib --with-bz2=/bin/ --with-ttf=/usr/X11R6/lib/
> --with-libpdf=../../incoming/libpdf_php.so
> --with-imap=../imap-2001.BETA.SNAP-0107221451/ --with-imap-ssl
>
> IMAP c-client compiled with no errors and so did PHP. I've also tried to
> do a ldd libphp4.so, and every linked library is ok.
>
> That's all. Since everything seem to be ok, it works everywhere else but
> here... ...where am I doing wrong? Is there something else I should give a
> look to?
>
> Another (much smaller) question: I need to set up an IMAP-SSL webmail,
> with LDAP addressbook search. LDAP should work fine (it seem to be
> supported by my php and it worked on my previous installation). What about
> IMAP-SSL? Where is it configured?
>
> Thank you in advance for your help!
>
>
> [Michele Albrigo]------------------------[Verona-Italy]
> [University of Verona]----[Computer Science Department]
> [Italy]--------[contact at: albrigo@omega.sci.univr.it]
> -------------------[other e-mail: indigo@operamail.com]
> [Admin of:]------------------------[omega.sci.univr.it]
> ------------------------------[metropolis.sci.univr.it]
>
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org