• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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