[imp] Hack for Login script for 2.3.7

Jeremy Wadsack jwadsack@wadsack-allen.com
Thu, 26 Apr 2001 08:00:12 -0700



Devin Atencio wrote:

> I was wanting to hack the login page so that I could have people login as
> follows:
> 
> username: username@domain.com
> password: password
> 
> and then it would switch the mail server according to watch was stuck in the
> username, and
> I added this code to the redirect.php file but it doesn't seem to work since
> it seems to read the HTTP_POST, how can i get this code to work?
> 
> 
> $exp_imapuser = explode("@",$imapuser);
> $imapuser = $exp_imapuser[0];
> $pass = $pass;
> $realm = $exp_imapuser[1];
> $maildomain = "mail.".$exp_imapuser[1];

How do you keep people from using your web-mail to access any mailserver 
on the Internet? Or is this not a problem for your site?


-- 

Jeremy Wadsack
Wadsack-Allen Digital Group