[imp] Confused!

Devin Atencio dreamboy@aros.net
Sat, 28 Apr 2001 10:40:01 -0600


Chuck,

I modified the original login.inc and have just two lines, a line for E-Mail
address, and
Password. Then in the redirect.php I have the following:

$exp_imapuser = explode("@",$imapuser);

$HTTP_POST_VARS['imapuser'] = $exp_imapuser[0];
$HTTP_POST_VARS['realm'] = $exp_imapuser[1];
$HTTP_POST_VARS['maildomain'] = $exp_imapuser[1];
$HTTP_POST_VARS['protocol'] = "imap";
$HTTP_POST_VARS['port'] = "143";
$HTTP_POST_VARS['folder'] = "mail/";
$HTTP_POST_VARS['server'] = "mail.".$exp_imapuser[1];

So $HTTP_POST_VARS['realm'] is getting set to the domain name, am I doing
something wrong?


Quoting Devin Atencio <dreamboy@aros.net>:

> Two days ago I configured my IMP and it started to save my Prefs in my SQL
> server the way
> that I liked it using username@domain.com name, now I notice that it is
> back
> to just using
> username, why is this?

What do you have realm set to in config/servers.php?

-chuck