Find email account password in Plesk
1) To find the mail account information.
root@[# /usr/local/psa/bin/mail –info email@domain.com
Example :
Mailname: username
Domain: domain.com
Mailbox: true
Password: password
Password type: plain
Mbox quota: Unlimited
Mailgroup: false
Attachment files:
Autoresponders: Disabled
Antivirus mail checking: Disabled
SUCCESS: Gathering information for ’email@domain.com’ complete
2) To find the email account passwords for a domain
root@[#] /usr/local/psa/admin/bin/mail_auth_view | grep domain.com
| email@domain.com | | password |
3) The below command will list passwords for all email accounts in plesk.
root@server[#] /usr/local/psa/admin/bin/mail_auth_view
OR
root@[#]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;”
——————————————————>
You made some really good points there. I looked on the net for more
info about the issue and found most individuals will go
along with your views on this web site.
You’ve made some decent points there. I looked on the net for more information about the issue and found most individuals will go along with your views on this website.
Hello There. I found your blog using msn. This is a really well written article.
I’ll be sure to bookmark it and return to read more of your
useful info. Thanks for the post. I’ll certainly
return.
I just like the valuable info you supply for your
articles. I will bookmark your blog and test once more right here frequently.
I’m rather certain I will be told lots of new stuff proper right here!
Good luck for the next!
You can also use on of the following MySQL queries on psa database:
1. SELECT accounts.id, mail.mail_name, accounts.password, domains.name FROM domains LEFT JOIN mail ON domains.id = mail.dom_id LEFT JOIN accounts ON mail.account_id
= accounts.id;
2. 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;
3. SELECT CONCAT(mail_name,”@”,name) as email_address,accounts.password FROM mail LEFT JOIN domains on domains.id=mail.dom_id LEFT JOIN accounts on accounts.id=mail.account_id;