SYMPTOMS
Login to horde webmail is now possible, POP3/IMAP/SMTP authorization does not work. The following error occurs in maillog when trying to authorize:/usr/local/psa/var/log/maillog
..............
LOGIN FAILED, ip=[127.0.0.1]
IMAP connect from @ [127.0.0.1]checkmailpasswd: unable to open mail authentication database: No such file or directory
..............
CAUSE
Berkeley Database with credentials of all mail accounts is missing.~# ls -l /var/lib/plesk/mail/auth/passwd.db
ls: /var/lib/plesk/mail/auth/passwd.db: No such file or directory
~#
RESOLUTION
Recreate the database anew to resolve the problem:~# /usr/local/psa/admin/sbin/mail_auth_dump
~# file /var/lib/plesk/mail/auth/passwd.db
/var/lib/plesk/mail/auth/passwd.db: Berkeley DB (Btree, version 9, native byte-order)
~# Additional information
Exact location of Plesk product root directory can be obtained from /etc/psa/psa.conf/etc/psa/psa.conf
..............
PRODUCT_ROOT_D /usr/local/psa
..............
Keywords: IMAP authorization Berkeley DB mail