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        |

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

|        user1@geniar.be |     |    SomethingRandom |

|        user2@geniar.be |     |    SomethingRandom |

|        user2@geniar.be |     |    SomethingRandom |

|        user3@geniar.be |     |    SomethingRandom |

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



Want to subscribe to the cron.weekly newsletter?

I write a weekly-ish newsletter on Linux, open source & webdevelopment called cron.weekly.

It features the latest news, guides & tutorials and new open source projects. You can sign up via email below.

No spam. Just some good, practical Linux & open source content.