Roundcube Community Forum

 

hmail plugin issues

Started by TechMonster, June 10, 2013, 12:13:35 AM

Previous topic - Next topic

TechMonster

Trying to use hmail_password and hmail_autoresponder plugins. They were working fine at one point. When trying to use hmail_password plugin it does not error for the user but the logs has the following error. It will not change the password. This is the similar dsn string as roundcube uses to talk to it's db. Please help.

Error
Quote[10-Jun-2013 00:07:07 -0400]: DB Error: SQLSTATE[IMSSP]: An invalid keyword 'host' was specified in the DSN string. in D:\Web\webmail\web\program\lib\Roundcube\rcube_db.php on line 154 (POST /?_task=settings&_action=plugin.hmail_password-save&_framed=1?_task=&_action=)


Config file
Quote
<?php

/* hmail_password plugin */

// navigation config (requires settings plugin)
$GLOBALS['settingsnav']['hmail_password'] = array('part' => '', 'label' => 'password', 'href' => './?_task=settings&_action=plugin.hmail_password&_framed=1', 'onclick' => '', 'descr' => 'hmail_password');

// hmailserver database configuration
$rcmail_config['db_hmail_accounts_dsn'] = 'sqlsrv://dbuser:dbpasswd@localhost/MailServer';

// password change method (dcom | database)
// NOTE: We recommend dcom method.
$rcmail_config['password_change_method'] = 'database'; // lowercase!

// Remote hMailServer configuration
// true:  HMailserver is on a remote box (php.ini: com.allow_dcom = true)
// false: Hmailserver is on same box as PHP
$rcmail_config['hmailserver_remote_dcom'] = false;
// Windows credentials
$rcmail_config['hmailserver_server'] = array(
    'Server' => '127.0.0.1', // hostname or ip address
    'Username' => 'Administrator', // windows username
    'Password' => 'dapasswd' // windows user password
);

// hmail_client configuration
// $rcmail_config['hmail_client'] = 'http://windowsbox.tld/hmail_client.php';

// user needs current password to perform change request
$rcmail_config['password_confirm_current'] = TRUE;

// password min length (min 6 digitis)
$rcmail_config['password_min_length'] = 6;

?>


SKaero

You'd probably get a better response asking the My RoundCube team directory.