Plesk password recovery

25 Aug 2008

Admin password

If you forgot your Plesk admin password, connect to your server with ssh and check /etc/psa/.psa.shadow file.

[root@apollo ~]# cat /etc/psa/.psa.shadow

Mailbox password

To find mailbox’s password in Plesk, connect to your server with ssh, then issue the following SQL query to reveal mailbox password (replace MAILBOX with your mailbox name):

[root@apollo ~]# mysql -u admin -p`cat /etc/psa/.psa.shadow` psa
mysql> SELECT m.mail_name,, a.password FROM mail AS m \
        LEFT JOIN (domains AS d, accounts AS a) \
        ON (m.dom_id = AND m.account_id = WHERE m.mail_name='MAILBOX';