Sometimes, in the case of migrations or just to obtain information about the email accounts on our server with Plesk, it can be useful to be able to obtain a list of accounts and their passwords for the sysadmins.

Well, the way to perform this action is very simple.

First you must access the server with plesk using the ssh console with root privileges, once inside you write:

/usr/local/psa/admin/sbin/mail_auth_view

Immediately the server will display a list with the accounts and their respective passwords with the following headers

|    mail@domain.tld |     |             password |