[imp] Login problem with IMP 2.3.7
Chuck Hagenbuch
chuck@horde.org
Wed, 18 Jul 2001 09:52:14 -0400
Quoting Devin Atencio <dreamboy@aros.net>:
> This seems to be a major problem with lots of accounts. I downloaded
Lots, or all?
> the latest CVS just now from horde.org. I then copied all the .dist
> files to .php alone files, then modified some of the settings. On
> the login screen I have it just asking for e-mail address and
> password, then on the redirect.php i have the following code:
>
> /* Create a new session if we're given the proper parameters. */
> if (isset($HTTP_POST_VARS['imapuser']) &&
> isset($HTTP_POST_VARS['pass'])) {
> $blankat = ereg("\@",$imapuser);
> if ($blankat == false) {
>
> $HTTP_POST_VARS['realm'] = "aros.net";
> $HTTP_POST_VARS['server'] = "aros";
Shouldn't that be something fully-qualified? Like 'mail.aros.net'?
> So basically I have the server doing an explode on the
> imapuser to find the domain to use and the username
> to user, then I set the $HTTP_POST_VARS['server'],
> and the $HTTP_POST_VARS['imapuser'] to what they should
> be inside the redirect.php.
>
> I am using a hidden serverlist. The program seems to
> get the correct information cause it bitches in the logs
> with the correct port and domain, but it never logs me in?
Do things work without your modifications?
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.