In the fwd.inc and the away.inc you have to set the adminpassword of the hmailserver,and the host where hmailserver is running, mostly localhost...The setting have to be done twice in each file.
$hCOMApp->Authenticate("Administrator", $admpasshmail);
$hCOMApp->Authenticate($_SESSION['username'], decrypt_passwd($_SESSION['password']));
$obAccount = $hCOMApp->Authenticate($_SESSION['username'], decrypt_passwd($_SESSION['password']));
function rcmail_save_passwd($curpasswd, $newpasswd){ global $CONFIG, $_SESSION, $DB; //COM Objekt erstellen $hCOMApp = new COM("hMailServer.Application"); $obAccount = $hCOMApp->Authenticate($_SESSION['username'], decrypt_passwd($_SESSION['password'])); if ($obAccount->ValidatePassword($curpasswd)) { $obAccount->Password = $newpasswd; $obAccount->Save(); $_SESSION['password'] = encrypt_passwd($newpasswd); return(1); }}