Find email account password in Plesk
This post will help you to find email account password in Plesk. The below command will help you to find the mail account information.
/usr/local/psa/bin/mail --info email@domain.com
Following command will list the passwords for all email accounts in plesk.
/usr/local/psa/admin/bin/mail_auth_view
You can also use the below command to find all the email account passwords.
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;"
To find the email account passwords for a domain
/usr/local/psa/admin/bin/mail_auth_view | grep domain.com
That’s it!
If you like this post and wish to receive more articles from us, please like our FB page: Grepitout
Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.
For more details on our services, please drop us an E-mail at info@grepitout.com
Add Comment