Article ID: 123760, created on Dec 2, 2014, last review on May 16, 2016

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


Execution of /usr/local/psa/admin/sbin/mchk utility results in error message:

Errors occurred in mail restore procedure
Some utilities have exited with errors.


Similar messages can be found in /var/log/maillog:

No such user 'mailuser@domain.tld' in mail authorization database


Empty passwords for mail accounts


  1. Execute the below command to get the list of such email accounts :

    ~# mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa "SELECT m.mail_name, FROM mail m LEFT JOIN accounts a ON = m.account_id LEFT JOIN domains d ON m.dom_id = WHERE trim(a.password) = ''"

    You will get the list of accounts for which you need to change the passwords.

  2. Use the following command to change the passwords for all mail accounts with empty passwords:

    ~# mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa -Nse"SELECT CONCAT_WS('@',mail.mail_name, FROM domains,mail,accounts WHERE AND AND accounts.password='' ORDER BY ASC,mail.mail_name ASC" | awk '{print "--update",$1,"-passwd P@S$w0rd"}' | xargs -I -t -n4 /usr/local/psa/bin/mail 

Search Words

forwarding does not work




dovecot_authdb_plesk No such user in mail authorization database

Mail wont work

PHP Notice: Undefined offset: 0; File: /usr/local/psa/admin/plib/Service/Agent/Transport/Util.php, Line: 210

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

Email subscription for changes to this article
Save as PDF