• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

eMail Accounts Password Encryption

UweP

Regular Pleskian
Hi all.

Does anybody know how the passwords for email accounts are encrypted, and if the password is stored plaintext somewhere? I just want to know for some friend who wants an email address only if the password is good encrypted and if the password is not stored plaintext anywhere.
 
You can find all mailbox 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;

If it is crypted use following command for decryption:

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