You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a change passwords in the roundcube plug-in, because don't know if postfix is use md5 encryption, so has been not modify the password and the system USES encryption mode matching.
thanks!
The text was updated successfully, but these errors were encountered:
I use this writing plus the {CRAM - MD5} UPDATE mailbox SET password=CONCAT('{CRAM-MD5}',MD5(%q)) WHERE username=%u LIMIT 1
But save the string in the database after the new password encryption, namely {CRAM - MD5} behind, or not, because still can't login with new password in roundcube.
You can choose which encryption scheme to use in the PostfixAdmin config ($CONF['encrypt']).
That said - I'd recommend not to modify the database manually. It's probably harmless when only changing the password (BTW - do you also update the 'modified' column and write something to the log table?), but it also means your plugin will need quite some code to handle the various encryption schemes.
PostfixAdmin comes with an xmlrpc interface which you might want to use.
The Squirrelmail plugin for Postfixadmin uses the XMLRPC interface to change the password. That way you don't have to worry about what hashing format is being used. The only downside is that you need to authenticate the end user with the xmlrpc interface - so you will probably need to ask them for their username/password in order to change it.
I wrote a change passwords in the roundcube plug-in, because don't know if postfix is use md5 encryption, so has been not modify the password and the system USES encryption mode matching.
thanks!
The text was updated successfully, but these errors were encountered: