1 (edited by theflash2015 2024-03-28 22:37:56)

Topic: could not save new password

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
iredmail docker
- Deployed with iRedMail Easy or the downloadable installer?
docker
- Linux/BSD distribution name and version:
ubuntu 22.04LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
docker
- Web server (Apache or Nginx):
docker
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi,
Ive set up iredmail docker container, but users cant change password via roundcube, it shows "could not save new password", i can change password using admin panel.
How to figure out what caused this, what logs do i need to post.
Thank you for your support.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by theflash2015 2024-04-10 07:54:28)

Re: could not save new password

I found below error log in
/var/log/roundcube/roundcube.log.1

Apr  1 10:03:28 mail roundcube: <b1a3995c> DB Error: SQLSTATE[HY000] [1045] Access denied for user 'roundcube'@'localhost' (using password: YES) in /opt/www/roundcubemail-1.4.11/program/lib/Roundcube/rcube_db.php on line 175 (POST /mail/?_task=settings&_action=plugin.password-save)

then i check maridb:
MariaDB [(none)]> SELECT user, host FROM mysql.user;
+------------+-------------------------+
| user       | host                    |
+------------+-------------------------+
| amavisd    | %                       |
| fail2ban   | %                       |
| iredadmin  | %                       |
| iredapd    | %                       |
| root       | %                       |
| roundcube  | %                       |
| sa_bayes   | %                       |
| vmail      | %                       |
| vmailadmin | %                       |
| root       | 127.0.0.1               |
| root       | ::1                     |
| root       | localhost               |
| root       | mail.****.com |
+------------+-------------------------+