Topic: iRedMail-0.9.7 Upgrade Questions / Comments / Issues
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: CentOS 7.3.1611
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): NGINX
- Manage mail accounts with iRedAdmin-Pro? YES 2.8
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Just completed the upgrade from 0.9.6 to 0.9.7. Overall everything works but I have a few questions. I went through it thoroughly so my questions are also thorough. Please let me know if you need more information. Thank you for the excellent product.
*** Roundcube ***
- You mention that it is necessary to remove "system" from PHP.INI in the "disable_functions" section. I did this before running the Roundcube upgrade. Is it not a big security risk to leave it removed ? Should you not mention to add it back after the upgrade to Roundcube 1.3 ? Just an observation, I will defer to your expertise on this.
The Roundcube upgrade sections says : backup,backup, backup and recommends to backup the roundcube database and schema. I looked for 2 hours on how to do this. Could not find an example of how to do the schema or database. I made an educated guess and almost got the database backed up with mysqldump using the credentials in config.inc.php with this command (I used the password from config.inc.php as well) :
mysqldump -u roundcube -p roundcubemail > ~/roundcubebackup.sql
mysqldump: Got error: 1044: "Access denied for user 'roundcube'@'localhost' to database 'roundcubemail'" when using LOCK TABLES
- Unfortunately, seems like the database tables are locked and cannot be backed up. What/Where can I find the procedure to backup the database ?
- How do we backup the schema ?
(btw, instructions should say how to check what the roundcube directory is, was not sure if it was the symbolic link /var/www/roundcubemail or dirctory /var/www/roundcubemail-1.2.0 . I had to assume it was /var/www/roundcubemail based on forum posts I found. Might be simpler to mention it or at least how to check)
I did a backup of the Roundcube directory and proceeded with running the upgrade script. Only gave one error :
Your configuration files are now up-to-date!
Executing database schema update.
Updating database schema (2016081200)... [OK]
Updating database schema (2016100900)... [OK]
Updating database schema (2016112200)... [FAILED]
All done
- What should be done about the FAILED schema upgrade to 2016112200 ?
- I noticed the roundcube directory is still /var/www/roundcubemail-1.2.0 with a symbolic link to /var/www/roundcubemail. Is it normal that the directory is 1.2 even though the version is 1.3 ?
NOTE: Roundcube works well and when logged in, the about in the top left corner shows version 1.3.0
NOTE: with these plugins :
Plugin Version License Source
filesystem_attachments 1.0 GPLv3+
jqueryui 1.12.0 GPLv3+
managesieve 8.7 GPLv3+
password 4.2 GPLv3+
*** FIX of Improper Postfix HELO rules ****
- Made the change you recommended. However, my main.cf "smtpd_helo_restrictions =" section does not have a "reject_unknown_helo_hostname" entry, instead, it has "reject_invalid_helo_hostname". Everything else is identical. Is this normal ?
*** FIX : incorrect session.save_path in php-fpm pool config file on RHEL/CentOS **
- My php_value[session.save_path] = /var/lib/php/session
has no quotes like in the example. I changed it to /var/lib/php/sessions. Just want to make sure it's normal that there
are no quotes.
*** FIX : incorrect freshclam setting ***
- These settings appeared to already be correct except your document says to have "LogSyslog yes" . Mine already said "LogSyslog true". Is that correct ?
*** FIX: Avoid possible backdooring mysqldump backups ***
My /var/vmail/backup/backup_mysql.sh says the following (it has a single quote instead of double quotes)
export CMD_MYSQLDUMP='mysqldump'
- Is the correct syntax :
export CMD_MYSQLDUMP='mysqldump' --skip-comments
or
export CMD_MYSQLDUMP='mysqldump --skip-comments'
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.