Get Plesk e-mail addresses and passwords

Need a handy way to list all the email accounts and their passwords?

select CONCAT(mail_name,"@",name) as email_address,accounts.password from mail left join domains on domains.id=mail.dom_id left join accounts on accounts.id=mail.account_id;

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Printed from: http://rackerhacker.com/2007/02/01/get-plesk-e-mail-addresses-and-passwords/ .
© Major Hayden 2010.

5 Comments   »

  • ghosti says:

    but.... how to show password in plain text? thanks a lot....

  • Joel says:

    Just stumbled across this article and thought I'd share my own quick fix to display the mailbox password. Modify the SQL query to the following:

    select CONCAT(mail_name,"@",name) as email_address, substring(accounts.password, '1') from mail left join domains on domains.id=mail.dom_id left join accounts on accounts.id=mail.account_id;

    There's probably a more elegant solution but this seems to work :-)

  • Richard says:

    Beautiful major & Joel

  • Very Handy, Thanks.

  • Muharrem says:

    Hello;

    Thanks for tip. I want ask question about email passwords. I need see password with md5 on mysql database this is possible ?

    Thanks Muharrem

RSS feed for comments on this post , TrackBack URI

Leave a Reply