Skip to content

Postfixadmin

Reset admin password

Find the current encryption method in config:

# in postfixadmin www directory
grep '^$CONF' config.inc.php  | grep encrypt
$CONF['encrypt'] = 'dovecot:CRAM-MD5';

Generate new password hash with this method:

doveadm pw -s CRAM-MD5 -p YOUR_PASSWORD | sed 's/{CRAM-MD5}//'

The last step: Update value in table admin