Archive: I need postifx/dovecot/roundcube passwords to work with sha512

Budget 207$ per month
Posted: 5 years ago
Closed
Description
I need postifx/dovecot/roundcube passwords to work with sha512 and current MD5.

Server is using:
- postfixadmin database
- dovecot with mysql extension (dovecot-2.2)
- postfix with mysql configuration using database of postfix admin (postfix-2.10)
- roundcube with connection to postfixadmin database

mailbox database password field
{PLAIN-MD5}098f6bcd4621d373cade4e832627b4f6

Dovecot
default_pass_scheme = MD5-CRYPT

Postfix main.cf
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth

roudcube
$config['password_query'] = "UPDATE mailbox SET password=CONCAT('{PLAIN-MD5}', MD5(%p)),modified=NOW() WHERE username=%u LIMIT 1";

Example of current md5 password filed in postfixadmin database
{PLAIN-MD5}098f6bcd4621d373cade4e832627b4f6

Example of new sha512 (also current md5 must be working)
$6$ZPKA7gVbZ8YWa3R7$2DmEtEWFDhJthAWAlrmbcVMAe/5Om6xa7jlpWTc44/xRY85EcgSqbV8Hmg7AJcwtRaNtmIDQaT4XFiRy5SoiW/

For more info and access to the server you can contact me.
Skills:
mysql,database,software development,system administration
Category