[imp] Login problem narrowed down.

Mike Baptiste baptiste@cc-concepts.com
Thu, 28 Feb 2002 23:03:27 -0500


I'm having a similar problem.  I have IMP 2.2.x and 3.0 installed in
differnet places (production and test)

With the PHP vulnerabilities, I recompiled Apache 1.3.23 & PHP 4.1.2 and
installed them over Apache 1.3.19 and PHP 4.0.6

The first change I noticed was it complained that my imap c-client was
SSL compiled so I needed to add the with-imap-ssl= directive - no
problem.  PHP compiled fine.

After I installed it, everything worked on my systems except IMP.  I
can't login.  Anytime I try to login, I'm getting the following errors:

Feb 28 22:40:31 tigger imapd[20480]: imap service init from 127.0.0.1
Feb 28 22:40:31 tigger imapd[20480]: Unable to accept SSL connection,
host=UNKNOWN

and

Feb 28 22:51:42 tigger imapd[11740]: imap service init from 127.0.0.1
Feb 28 22:51:42 tigger imapd[11740]: Command stream end of file, while
reading line user=??? host=UNKNOWN

Something in the new PHP seems to be causing this.

Google turns up nothing.  Still searching.

Mike

robert sand wrote:
 > Yes.  imapd is running under xinetd, I have tested this by using this
 > same client to read email on that server.
 >
 > Edwin Culp wrote:
 >
 >> You should see something in the imapd.log or one of the server logs.
 >> This
 >> server does have imapd and it is either running as a daemon or with
 >> inetd/xinetd
 >> right?  If it is running as a daemon you have checked that it is
 >> running with
 >> netstat -a.
 >> The configuration that you have works for me by just changing the dn.
 >>
 >> ed
 >>
 >> Quoting robert sand <rsand@d.umn.edu>:
 >>
 >> | Sorry no this does not work.  What is needed is some way for me to
 >> know why I
 >> | | can not login.  I do not get any error messages at all.
 >> | | Edwin Culp wrote:
 >> | | > Quoting robert sand <rsand@d.umn.edu>:
 >> | > | > | I just finished installing php 4.1.2 and horde on a new
 >> server.  Instead
 >> | of
 >> | > | | > | adding imp right away I wanted to check to see if I could
 >> login just
 >> | with
 >> | > | horde | > | and no other apps.
 >> | > | | > | I have c-client 2001a configured to use pams on redhat
 >> linux 7.2.  I
 >> | can
 >> | > | connect | > | and read mail using a regular imap client so I
 >> know that imapd is working
 >> | | > | correctly but when I try to log into horde I nothing happens
 >> and there
 >> | are no
 >> | > | | > | errors in horde.log (there isn't a /tmp/horde.log even
 >> though it is
 >> | turned
 >> | > | on).
 >> | > | | > | This is what I have in horde.php
 >> | > | | > Robert,
 >> | > | > | $conf['auth']['driver'] = 'imap';
 >> | > $conf['auth']['params'] = array();
 >> | > | $conf['auth']['params']['dsn'] = '{imp2.d.umn.edu/imap:143}INBOX';
 >> | > it works fine for me with the $conf['auth']['params'] = array() line
 >> | > that I'm sure that you have.  The only difference is that I have to
 >> | > login to imp twice.
 >> | > | > ed
 >> | > | > | | > | There doesn't seem to be any information as to how
 >> this second line is
 >> | > | supposed | > | to be set up except for the example.  I want to
 >> authenticate using imap
 >> | > | rather | > | than using mysql.
 >> | > | | > | Any help would be appreciated
 >> | > | | > | P.S.  I had tried on the last install to use imp but I
 >> thought if I could
 >> | get
 >> | > | | > | the auth problem figured out fist then imp would be a 
breeze.
 >> | > | | > | -- | > | Robert Sand.
 >> | > | mailto:rsand@d.umn.edu
 >> | > | University of Minnesota, Duluth
 >> | > | Information Technology Systems and Services
 >> | > | 144 MWAH
 >> | > | 218-726-6122        fax 218-726-7674
 >> | > | | > | "Walk behind me I may not lead, Walk in front of me I may
 >> not follow,
 >> | > |   Walk beside me and we walk together"  UTE Tribal proverb.
 >> | > | | > | | > | -- | > | 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
 >> | > | | > | | > | > | > | > | >
 >> -------------------------------------------------
 >> | > | > | | | -- | Robert Sand.
 >> | mailto:rsand@d.umn.edu
 >> | University of Minnesota, Duluth
 >> | Information Technology Systems and Services
 >> | 144 MWAH
 >> | 218-726-6122        fax 218-726-7674
 >> | | "Walk behind me I may not lead, Walk in front of me I may not 
follow,
 >> |   Walk beside me and we walk together"  UTE Tribal proverb.
 >> | |
 >> -------------------------------------------------
 >>
 >>
 >>
 >
 >