• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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