Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to find email account password in Plesk?  (Read 1966 times)

0 Members and 1 Guest are viewing this topic.

lijeshk

  • Guest
How to find email account password in Plesk?
« on: December 04, 2013, 06:08:16 am »

If you want to find the password for  email account  in Plesk, then there are three ways to get it:
 
  • To find password for a single email  account
Code: [Select]
root@server[#] /usr/local/psa/bin/mail --info info@domain.com
  • To find all email account passwords for a single domain
Code: [Select]
root@server[#] /usr/local/psa/admin/bin/mail_auth_view | grep domain.com
  • The below commands will list passwords for all email accounts in plesk
Code: [Select]
root@server[#] /usr/local/psa/admin/bin/mail_auth_view
  Or

Code: [Select]
root@server[#]mysql -uadmin -p` cat /etc/psa/.psa.shadow` -Dpsa -e"select mail_name,name,password from mail left join domains on mail.dom_id = domains.id inner join accounts where mail.account_id = accounts.id;"
--
 :)