Applicable to:
- Plesk for Linux
Symptoms
-
After restoring Plesk due to disaster. Mail stopped working;
-
The following error can be found in
/var/log/maillog
:CONFIG_TEXT: dovecot_authdb_plesk[5239]: No such user 'john.doe@example.com' in mail authorization database
-
mchk
(/usr/local/psa/admin/sbin/mchk
) utility does not restore authentication database. The below errors can be found in Plesk logs/var/log/plesk/panel.log
:
CONFIG_TEXT: ERR [panel] Non-UTF data for mail account: john.doe@example.com
Cause
Mailbox passwords can not be decrypted with the
/etc/psa/private/secret_key
Resolution
-
Log in to Plesk server using SSH
-
Backup the original key:
# cp /etc/psa/private/secret_key /etc/psa/private/secret_key.orig
-
Restore the secret key from the old server, put it in the correct directory /etc/psa/private/secret_key and rerun mchk utility:
# cp /etc/psa/private/secret_key /etc/psa/private/secret_key.orig
# cp /old/etc/psa/private/secret_key /etc/psa/private/secret_keyOtherwise, reset all mail passwords with the Plesk mass password reset script using
--mailaccounts
option.
Comments
0 comments
Please sign in to leave a comment.