Dynamic host with password plugin

Jorge Bastos
Tue, 12 Sep 2017 19:50:39 -0000

Howdy,

I?m making my multi-server instalation ready, but I?m facing just one small
issue, that is with password plugin.

So, in config.inc.php of it I have:

config['password_db_dsn'] = 'mysql://webmail:bdkddddddz at
192.168.69.222/postfix';

but, as I?m using in roundcube?s config.inc.php ?dynamic? host:

$config['default_host'] = 'mail.%s';

Can I have in the password plugin config.inc.php the same variable?
(I can use same user/password/db on both servers for password change)

Thanks in advanced,