I had a client using postfixadmin but no one knew the password. Simple enough to go into the db to reset:
dovecotpw -s MD5-CRYPT -p password | sed ‘s/{MD5-CRYPT}//’
Then in the database:
update admin set password=’CRYPTED PASSWORD” where username=’USERNAME’;
I found how to do this here:
SourceForge.net: Postfix Admin: Topic: Postfixadmin mysql password storage method
If running Ubuntu 11.1 you have to use:
doveadm pw -s MD5-CRYPT -p password | sed ‘s/{MD5-CRYPT}//’
If running Ubuntu 11.1 you have to use:
doveadm pw -s MD5-CRYPT -p password | sed ‘s/{MD5-CRYPT}//’
Pingback: Resetear password de admin en postfixadmin | Stefano Salvatori
Pingback: Resetear password de admin en postfixadmin | Stefano Salvatori
This is the first hit google recommends resetting password of postfixadmin.
For Ubuntu 14.04 the command is:
doveadm pw -s MD5-CRYPT -p | sed ‘s/{MD5-CRYPT}//’
Regards