• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

How to list all user passwords

musictus

Basic Pleskian
Hello

After hours of work, I found how people was sending out spam from my server. It was via a weak user password, using smtp-auth.

Is there a quick way to list all user accounts and their email password, so that I can prevent this happens again, by adding more strong password?

Thanks!
 
You can find all email passwords with following SQL query:
select mail_name,name,password from mail left join domains on mail.dom_id = domains.id inner join accounts where mail.account_id = accounts.id and postbox='true' order by name asc, mail_name asc;;
If password is crypted use following command for decryption:

# perl -MMIME::Base64 -le 'print decode_base64("$password")'
 
Back
Top