Login to SnappyMail as admin https://SERVER_URL/snappymail/?admin
Go to https://SERVER_URL/snappymail/?admin#/packages activate Change Password plugin
Press the gear icon besides the title of plugin and add the mariadb root and password from nano /usr/local/CyberCP/CyberCP/settings.py CTRL+W (search for) DATABASES =
Change mysql statement to UPDATE e_users SET password = :newpass WHERE email = :email AND emailOwner_id = :domain
Under Encrypt optionsIn what way do you want the passwords to be encrypted? choose bcrypt and prefix as {CRYPT}(Optional encrypted password prefix, like {ARGON2I} or {BLF-CRYPT} or {SHA512-CRYPT})
Change DSN from mysql:host=localhost;dbname=snappymail;charset=utf8 to mysql:host=localhost;dbname=cyberpanel;charset=utf8
Now the plugin is ready to activate. Activate it and test it will a mailbox user.
Hi team
Is the right and last update version for Change Password is 2.17 ?
if it’s right one i don’t understand on tutirial this mention ; " add the mariadb root and password from nano /usr/local/CyberCP/CyberCP/settings.py CTRL+W (search for) DATABASES ="
WHERE i have to search ? not clear for me sorry ?
Add mariadb root password you see on this file /usr/local/CyberCP/CyberCP/settings.py. If you have the Root File Manager addon then you can access it and search for DATABASES = directive you will see root password here in list of database connections/configurations