Small blog about system administration.

HOWTO: Get Plesk e-mail addresses and 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;"

The result will show all available Plesk mail accounts inside the ‘psa’ database.

No comments :

Post a Comment