Anyone can make a patch with only change password patch that works with HMAILSERVER and last version of roundcube v0.2-alpha ?
Thanksss
Do you mean these patches?
http://www.roundcubeforum.net/showthread.php?t=2503&page=3&highlight=hmailserver
If so, adjust password en-/decryption method in passwd.inc
function rcmail_save_passwd($curpasswd, $newpasswd){
global $CONFIG, $_SESSION, $DB, $RCMAIL;
$hCOMApp = new COM("hMailServer.Application");
$obAccount = $hCOMApp->Authenticate($_SESSION['username'], $RCMAIL->decrypt_passwd($_SESSION['password']));
if ($obAccount->ValidatePassword($curpasswd)) {
$obAccount->Password = $newpasswd;
$obAccount->Save();
$_SESSION['password'] = $RCMAIL->encrypt_passwd($newpasswd);
return(1);
}
}
Hi everybody,
I'm new on this forum and i'm very poor on php.
Following your guidelines to set up a password-change function on Hmailserver , i went into troubles.
Can someone provide me a detailed guide to enable this funcyion on my system?
W2008 enterprise
mysql 5.1
hmailserver 4.4.3-b285
roundcube 0.2.1
all on the same machine
Please help me, please!
Thank you
Piero
As posted here (http://www.roundcubeforum.net/old-style-plug-ins/2503-vacation-assistent-forward-tab-password-tab-hmailserver-3.html#post19753), there is a new version of this patch. Likely the reason it was not working with your installation is because of your version of RoundCube. The old patch was *only* for v0.1.1 and the new version (http://www.sturmer.org/download/1478/rc-hmail_(0.2.2).zip) is only for v0.2.2.
Does anyone have the patch for the latest release v0.3.1 of Roundcube with hMailServer for the change password? If so please post it immediately as I need it asap.
This is now depricated use the hmail_password plugin from rosali you can find it here: http://code.google.com/p/myroundcube/