ZhangHuangbin wrote:Did you have any special characters in the password? like % # $, etc.
Sorry if this is off topic, but I'm having the same issue and I do have special characters in the password. I cannot receive or send any mail, and my password does contain a special character. How would I go about fixing this?
Roundcube says "Server Error: SELECT: Internal error occurred. Refer to server log for more information."
I actually ended up reinstalling iredmail even after I fixed this issue. I can help guide you through what I did in order to fix the problem. Which was not related to my postmaster account password but the passwords of the database users relating to iredadmin and vmail etc.
You will access to the database and possibly sudo user access.
First you will need to find the settings.py file located in the iredadmin directory, I have chosen custom install locations but I think this will be in /opt/iredadmin. Open this file and you will see various passwords. You need to copy one at a time and use the database password hash function, for me it MariaDB so using either command line access or anything you can use to execute sql queries such as phpmyadmin or adminer etc. Then you can use this to return the hash of each password within settings.py, SELECT PASSWORD ('<the_copied_password'); this will return a password hash such as *HDBRJKDKDBXHJDNDNDHDJMDNDKDK. Then in your database access the users and check the password hash of each user and if needed just copy and paste the new hashed password. It may be the case you don't need to hash the passwords first.
You could also just add a new user directly into the database by replicating the postmaster account and use a different email. Which should work but I didn't do this so I cannot say for sure.