Plesk: listing all the mailbox account info (username/password)

Want to help support this blog? Try out Oh Dear, the best all-in-one monitoring tool for your entire website, co-founded by me (the guy that wrote this blogpost). Start with a 10-day trial, no strings attached.

We offer uptime monitoring, SSL checks, broken links checking, performance & cronjob monitoring, branded status pages & so much more. Try us out today!

Profile image of Mattias Geniar

Mattias Geniar, November 19, 2011

Follow me on Twitter as @mattiasgeniar

Here’s a useful command when you’re dealing with Plesk very often. This lists all the account names and their passwords for all the mailboxes in your Plesk Controlpanel.

While you could/should argue it’s unsafe of Plesk to store them in plain text like that, it sure comes in handy when troubleshooting.

# /usr/local/psa/admin/bin/mail_auth_view

Authentication database contents:

+-–-–-–-–-–-–-–-–+-—-+-–-–-–-–-–-—-+

|             address    |flags|    password        |

+-–-–-–-–-–-–-–-–+-—-+-–-–-–-–-–-—-+

|        [email protected] |     |    SomethingRandom |

|        [email protected] |     |    SomethingRandom |

|        [email protected] |     |    SomethingRandom |

|        [email protected] |     |    SomethingRandom |

So keep that /usr/local/psa/admin/bin/mail_auth_view command in mind!