Article ID: 125401, created on May 2, 2015, last review on May 22, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 11.5 for Linux


Mail users were migrated from another server. On attempt to login to Roundcube the error message is shown:

Login failed

Or a blank page is shown.

The following output is found in Roundcube error log in /var/log/plesk-roundcube/errors file:

IMAP Error: Login failed for billing from AUTHENTICATE CRAM-MD5: A0001 NO Login failed. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_imap.php on line 184 (POST /?_task=login&_action=login)

IMAP Error: Login failed for <mail_account> from,X-Forwarded-For: Authentication failed. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_imap.php on line 184 (POST /roundcube/?_task=login?_task=login&_action=login)


Passwords of migrated mail accounts are stored in the database as hash:

# sqlite3 /var/spool/postfix/plesk/passwd.db
sqlite> select * from users;


Change authorization method to PLAIN in Roundcube configuration file so that it looks like:

# grep 'auth_type' /usr/share/psa-roundcube/config/
$config['imap_auth_type'] = PLAIN;
$config['smtp_auth_type'] = 'PLAIN';

Also mass password reset can be used to change the passwords (6 characters long password):

# /usr/local/psa/admin/bin/mail_auth_view | grep -v ^+ | sed '1,2d' | sed -n -e :a -e '1,4!{P;N;D;};N;ba' | awk -F "|" '{print $2}' > /tmp/mailboxlist
# while read i; do /usr/local/psa/bin/mail -u $i -passwd `openssl rand -base64 6`; done < /tmp/mailboxlist

Search Words

log into webmail plesk redirect to login

Authentication failed. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_imap.php


roundcube login

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 29d1e90fd304f01e6420fbe60f66f838 01bc4c8cf5b7f01f815a7ada004154a2 0a53c5a9ca65a74d37ef5c5eaeb55d7f 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 742559b1631652fadd74764ae8be475e

Email subscription for changes to this article
Save as PDF