• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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