iredmail我不太会使用,我直接就是用hmailserver+mysql+roundcube搭建的环境,但是我修改了roundmail中自带插件的password代码后,能够修改密码,但是不能够正常登录了,而且数据库中密码的那条记录没修改前是加密的,但是现在不加密了,你能帮我解决数据库加密的问题吗?

以下是我的错误提示,希望会的人能够尽快答复我。谢谢啦

[26-Jan-2011 08:35:18] PHP Warning:  date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in C:\roundcubemail-0.5\program\include\main.inc on line 1145
[26-Jan-2011 08:35:18 +0000]: IMAP Error: Login failed for test@bjzqrh.com from 127.0.0.1. Unsupported authentication mechanism. in C:\roundcubemail-0.5\program\include\rcube_imap.php on line 183 (POST /mail/?_task=login&_action=login)


能够在roundmail中使用password的修改密码的插件,也能够修改密码,但是修改以后就不能正常登录了,而且数据库的那个密码,以前是加密的,改后以后不再是加密的文件了,就不能正常的登陆了,下面的是我修改password文件夹中config.inc.php的文件代码。希望会的人帮我解决这个问题,小弟在这里提前感谢了!
// SQL Driver options
// ------------------
// PEAR database DSN for performing the query. By default
// Roundcube DB settings are used.
$rcmail_config['password_db_dsn'] = 'mysql://root:redhat@localhost/roundcubemail';

// The SQL query used to change the password.
// The query can contain the following macros that will be expanded as follows:
//      %p is replaced with the plaintext new password
//      %c is replaced with the crypt version of the new password, MD5 if available
//         otherwise DES.
//      %D is replaced with the dovecotpw-crypted version of the new password
//      %o is replaced with the password before the change
//      %n is replaced with the hashed version of the new password
//      %q is replaced with the hashed password before the change
//      %h is replaced with the imap host (from the session info)
//      %u is replaced with the username (from the session info)
//      %l is replaced with the local part of the username
//         (in case the username is an email address)
//      %d is replaced with the domain part of the username
//         (in case the username is an email address)
// Escaping of macros is handled by this module.
// Default: "SELECT update_passwd(%c, %u)"
//$rcmail_config['password_query'] = 'SELECT update_passwd(%p, %u)';
$rcmail_config['password_query'] = 'UPDATE hm_accounts SET accountpassword = %p WHERE accountaddress = %u LIMIT 1';
// Path for dovecotpw (if not in $PATH)
// $rcmail_config['password_dovecotpw'] = '/usr/local/sbin/dovecotpw';

// Dovecot method (dovecotpw -s 'method')
$rcmail_config['password_dovecotpw_method'] = 'CRAM-MD5';

// Enables use of password with crypt method prefix in %D, e.g. {MD5}$1$LUiMYWqx$fEkg/ggr/L6Mb2X7be4i1/
$rcmail_config['password_dovecotpw_with_method'] = false;

// Using a password hash for %n and %q variables.
// Determine which hashing algorithm should be used to generate
// the hashed new and current password for using them within the
// SQL query. Requires PHP's 'hash' extension.
$rcmail_config['password_hash_algorithm'] = 'sha1';

// You can also decide whether the hash should be provided
// as hex string or in base64 encoded format.
$rcmail_config['password_hash_base64'] = false;