If you’re having trouble when try to change your email password in Roundcube on your Directadmin installation, than error will be probably something like this:
Could not save new password. Connection error. Recv failure: Connection reset by peer
Solution is simple. Just open Roundcube configuration file (/var/www/html/roundcube/plugins/password/config.inc.php) and find:
$rcmail_config['password_directadmin_host'] = 'tls://localhost';
then, change it to:
$rcmail_config['password_directadmin_host'] = 'ssl://localhost';
It should work.