Rouncube webmail: unable to log into mailbox, using md5 hash as in documentation.

Created:

2017-06-16 12:11:59 UTC

Modified:

2017-08-16 16:59:59 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Rouncube webmail: unable to log into mailbox, using md5 hash as in documentation.

Applicable to:

  • Plesk for Linux

Symptoms

When MD5 crypt hash is specified as readily-encrypted password, it does end up in the "accounts" table verbatim, but the user can not log into roundcube webmail. An example command line:

# mail -c john.doe@example.com -mailbox true -passwd_type encrypted -passwd '$1$ohvahliu$OjADIEN3DK4z4ejtT8bWc0'

As a result, it is not possible to log into mailbox in Roundcube.

Cause

Digest-MD5 authentication which is used by Roundcube by default does not work for hashed passwords.

Product bug #PPPM-6504 , which is planned to be fixed in one of the future Plesk updates.

Resolution

As a workaround, switch Roundcube to login auth scheme:
In /usr/share/psa-roundcube/config/defaults.inc.php set:

$config['imap_auth_type'] = 'PLAIN';

Note, there is a similar problem with sieve filters: sieverules fails to authenticate with error.
To workaround this write the following into /usr/share/psa-roundcube/plugins/sieverules/config.inc.php :
$config['sieverules_auth_type'] = 'LOGIN';
Have more questions? Submit a request
Please sign in to leave a comment.