sorry, I've switched files in diff
--- index.php~ Thu Nov 10 09:24:29 2005 +++ index.php Thu Nov 10 09:24:29 2005 @@ -116,13 +116,18 @@ if ($_action=='login' && $_task=='mail') { $host = $_POST['_host'] ? $_POST['_host'] : $CONFIG['default_host'];
$_SERVER['HTTP_HOST']);
// check if client supports cookies if (empty($_COOKIE)) { show_message("cookiesdisabled", 'warning'); }
rcmail_login($_POST['_user'], $_POST['_pass'], $host))
rcmail_login($userdn, $_POST['_pass'], $host)) { // send redirect header("Location: $COMM_PATH");