[imp] Login Problem

Parag Godkar paragg@konark.ncst.ernet.in
Fri, 12 Jul 2002 14:06:59 +0530


This is a multi-part message in MIME format.

---------------------- multipart/alternative attachment
We have a imap server called "Konark" in the domain ncst.ernet.in
for this I have set up /var/www/html/horde/imp/config/servers.php
as -

$servers['imap'] =3D array(
    'name' =3D> 'Konark',
    'server' =3D> 'konark.ncst.ernet.in',
    'protocol' =3D> 'imap',
    'port' =3D> 143,
    'folders' =3D> 'mail/',
    'namespace' =3D> '',
    'maildomain' =3D> 'ncst.ernet.in',
    'smtphost' =3D> 'konark.ncst.ernet.in',
    'realm' =3D> 'ncst.ernet.in',
    'preferred' =3D> ''
);

You can comment out the other sample servers.


Also comment out the following in
/var/www/html/horde/config/registry.php

 $this->registry['auth']['login'] =3D 'imp';
 $this->registry['auth']['logout'] =3D 'imp';

$this->registry['mail']['compose'] =3D 'imp';
$this->registry['mail']['composePopup'] =3D 'imp';

$this->applications['horde'] =3D array(
    'fileroot' =3D> dirname(__FILE__) . '/..',
    'webroot' =3D> '/horde',
    'initial_page' =3D> 'login.php',
    'icon' =3D> '/horde/graphics/home.gif',
    'name' =3D> _("Webmail Interface of NCST"),
    'allow_guests' =3D> true,
    'show' =3D> true,
    'templates' =3D> dirname(__FILE__) . '/../templates',
    'cookie_domain' =3D> $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],
    'cookie_path' =3D> '/horde',
    'server_name' =3D> $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],
    'server_port' =3D> $GLOBALS['HTTP_SERVER_VARS']['SERVER_PORT']
);

 $this->applications['imp'] =3D array(
     'fileroot' =3D> dirname(__FILE__) . '/../imp',
     'webroot' =3D> $this->applications['horde']['webroot'] . '/imp',
     'icon' =3D> $this->applications['horde']['webroot'] . =
'/imp/graphics/imp.gif',
     'name' =3D> _("Mail"),
     'allow_guests' =3D> false,
     'show' =3D> true
 );

Then in /var/www/html/horde/imp/config/conf.php
you must have -

$conf['server']['server_list'] =3D 'shown';

See if you have all these set up,
especially servers.php properly.

Regards,
Parag.
  ----- Original Message -----=20
  From: Bryan H=20
  To: imp@lists.horde.org=20
  Sent: Thursday, July 11, 2002 8:20 PM
  Subject: [imp] Login Problem


  I have installed and configured Horde 2.1 and IMP 3.1 as best as I can =
to the same way I had it with my previous install of RH 7.2 Horde 2.0 =
and IMP 2.1

  I'm having problems now logging in via horde.  I can create a email =
account in outlook and I can connect to my server's IMAP, so I know that =
IMAP is working with authentication.  But when I try and connect via =
Horde/IMP on the web, I get the error:

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

  What can I check to see why this is happening?  =
/horde/config/horde.php, registry.php look good as do =
/horde/imp/config/servers.php, conf.php

  I can't thing of anything else to check.  Please, now I just need to =
log in and I'll have my mail server running again.  Thanks.

  Bryan H

  NVETHIS Networks





-------------------------------------------------------------------------=
-----
  Do You Yahoo!?
  New! SBC Yahoo! Dial - 1st Month Free & unlimited access

---------------------- multipart/alternative attachment
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>We have a imap server called "Konark" =
in the domain=20
ncst.ernet.in</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>for this I have set up=20
/var/www/html/horde/imp/config/servers.php</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>as -</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>$servers['imap'] =3D =
array(<BR>&nbsp;&nbsp;&nbsp;=20
'name' =3D&gt; 'Konark',<BR>&nbsp;&nbsp;&nbsp; 'server' =3D&gt;=20
'konark.ncst.ernet.in',<BR>&nbsp;&nbsp;&nbsp; 'protocol' =3D&gt;=20
'imap',<BR>&nbsp;&nbsp;&nbsp; 'port' =3D&gt; 143,<BR>&nbsp;&nbsp;&nbsp; =
'folders'=20
=3D&gt; 'mail/',<BR>&nbsp;&nbsp;&nbsp; 'namespace' =3D&gt; =
'',<BR>&nbsp;&nbsp;&nbsp;=20
'maildomain' =3D&gt; 'ncst.ernet.in',<BR>&nbsp;&nbsp;&nbsp; 'smtphost' =
=3D&gt;=20
'konark.ncst.ernet.in',<BR>&nbsp;&nbsp;&nbsp; 'realm' =3D&gt;=20
'ncst.ernet.in',<BR>&nbsp;&nbsp;&nbsp; 'preferred' =3D&gt; =
''<BR>);</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>You can comment out the other sample =
servers.</DIV>
<DIV><BR></DIV></FONT><FONT face=3DArial size=3D2></FONT>
<DIV><FONT face=3DArial size=3D2>Also comment out the following =
in</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>/var/www/html/horde/config/registry.php</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;$this-&gt;registry['auth']['login'] =3D=20
'imp';<BR>&nbsp;$this-&gt;registry['auth']['logout'] =3D =
'imp';</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>$this-&gt;registry['mail']['compose'] =
=3D=20
'imp';<BR>$this-&gt;registry['mail']['composePopup'] =3D =
'imp';<BR></FONT><FONT=20
face=3DArial size=3D2></DIV>
<DIV>$this-&gt;applications['horde'] =3D array(<BR>&nbsp;&nbsp;&nbsp; =
'fileroot'=20
=3D&gt; dirname(__FILE__) . '/..',<BR>&nbsp;&nbsp;&nbsp; 'webroot' =
=3D&gt;=20
'/horde',<BR>&nbsp;&nbsp;&nbsp; 'initial_page' =3D&gt;=20
'login.php',<BR>&nbsp;&nbsp;&nbsp; 'icon' =3D&gt;=20
'/horde/graphics/home.gif',<BR>&nbsp;&nbsp;&nbsp; 'name' =3D&gt; =
_("Webmail=20
Interface of NCST"),<BR>&nbsp;&nbsp;&nbsp; 'allow_guests' =3D&gt;=20
true,<BR>&nbsp;&nbsp;&nbsp; 'show' =3D&gt; true,<BR>&nbsp;&nbsp;&nbsp; =
'templates'=20
=3D&gt; dirname(__FILE__) . '/../templates',<BR>&nbsp;&nbsp;&nbsp; =
'cookie_domain'=20
=3D&gt; =
$GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],<BR>&nbsp;&nbsp;&nbsp;=20
'cookie_path' =3D&gt; '/horde',<BR>&nbsp;&nbsp;&nbsp; 'server_name' =
=3D&gt;=20
$GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],<BR>&nbsp;&nbsp;&nbsp; =
'server_port'=20
=3D&gt; $GLOBALS['HTTP_SERVER_VARS']['SERVER_PORT']<BR>);</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;$this-&gt;applications['imp'] =3D =
array(<BR>&nbsp;&nbsp;&nbsp;&nbsp;=20
'fileroot' =3D&gt; dirname(__FILE__) . =
'/../imp',<BR>&nbsp;&nbsp;&nbsp;&nbsp;=20
'webroot' =3D&gt; $this-&gt;applications['horde']['webroot'] .=20
'/imp',<BR>&nbsp;&nbsp;&nbsp;&nbsp; 'icon' =3D&gt;=20
$this-&gt;applications['horde']['webroot'] .=20
'/imp/graphics/imp.gif',<BR>&nbsp;&nbsp;&nbsp;&nbsp; 'name' =3D&gt;=20
_("Mail"),<BR>&nbsp;&nbsp;&nbsp;&nbsp; 'allow_guests' =3D&gt;=20
false,<BR>&nbsp;&nbsp;&nbsp;&nbsp; 'show' =3D&gt; =
true<BR>&nbsp;);<BR><BR>Then in=20
/var/www/html/horde/imp/config/conf.php</DIV>
<DIV>you must have -</DIV>
<DIV>&nbsp;</DIV>
<DIV>$conf['server']['server_list'] =3D 'shown';<BR></DIV>
<DIV>See if you have all these set up,</DIV>
<DIV>especially servers.php properly.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>Parag.</DIV></FONT>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dnve_this@yahoo.com href=3D"mailto:nve_this@yahoo.com">Bryan =
H</A>=20
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dimp@lists.horde.org=20
  href=3D"mailto:imp@lists.horde.org">imp@lists.horde.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, July 11, 2002 =
8:20=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [imp] Login =
Problem</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><BR></DIV>
  <P>I have installed and configured Horde 2.1 and IMP 3.1 as best as I =
can to=20
  the same way I had it with my previous install of RH 7.2 Horde 2.0 and =
IMP=20
  2.1</P>
  <P>I'm having problems now logging in via horde.&nbsp; I can create a =
email=20
  account in outlook and I can connect to my server's IMAP, so I know =
that IMAP=20
  is working with authentication.&nbsp; But when I try and connect via =
Horde/IMP=20
  on the web, I get the error:</P>
  <P class=3Dlight>Login failed for some reason. Most likely your =
username or=20
  password was entered incorrectly.</P>
  <P class=3Dlight>What can I check to see why this is happening?&nbsp;=20
  /horde/config/horde.php, registry.php look good as do=20
  /horde/imp/config/servers.php, conf.php</P>
  <P class=3Dlight>I can't thing of anything else to check.&nbsp; =
Please, now I=20
  just need to log in and I'll have my mail server running again.&nbsp;=20
  Thanks.</P>
  <P class=3Dlight>Bryan H</P>
  <P class=3Dlight>NVETHIS Networks</P>
  <P><BR>
  <HR SIZE=3D1>
  <B>Do You Yahoo!?</B><BR>New! <A=20
  =
href=3D"http://pa.yahoo.com/*http://rd.yahoo.com/sbcyahoo/consumer/evt=3D=
640/*http://sbc.yahoo.com"=20
  target=3D_blank>SBC Yahoo! Dial</A> - 1st Month Free &amp; unlimited=20
access</BLOCKQUOTE></BODY></HTML>

---------------------- multipart/alternative attachment--