Routing the world

Routing & IT System Administration

Plesk Linux Email Accounts Password Reveal

with one comment

A lot of times, many Plesk email users get his passwords lost.

They call to support services of the hosting provider requesting it. You can access the database to see the password what is a very tedious process.

Fortunately Parallels has implemented a command to see all passwords for all users in all domains:

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

You can filter the output to see one account password (quotes must exist):

/usr/local/psa/admin/bin/mail_auth_view | grep "johnsmith@domain.tld"

Also you could get statistical information about how many email accounts supports your server:

/usr/local/psa/admin/bin/mail_auth_view | wc -l

As the result you get the total amount of email accounts in you server for all the domains, of course, you could filter by domain:

/usr/local/psa/admin/bin/mail_auth_view | grep "domain.tld" | wc -l

And all the variations you can imagine.

Advertisements

Written by Root

July 20, 2011 at 08:51

Posted in Linux, Plesk

Tagged with

One Response

Subscribe to comments with RSS.

  1. Absolutely fantastic solution!

    Snehalk

    August 18, 2011 at 04:25


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: