Find email account password in Linux Plesk

Share it:


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;”


Share it:

Post A Comment:

0 comments: