diff --git a/en_US/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md b/en_US/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md index 0c797f8f..c655eca9 100644 --- a/en_US/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md +++ b/en_US/upgrade/0-upgrade.iredmail.0.9.2-0.9.3.md @@ -288,7 +288,7 @@ Please edit `root`'s cron job with command below: # crontab -e -u root ``` -Then add cron job below: +Then add cron job like below: * RHEL/CentOS: diff --git a/en_US/upgrade/0-upgrade.iredmail.0.9.5.1-0.9.6.md b/en_US/upgrade/0-upgrade.iredmail.0.9.5.1-0.9.6.md index 1eee9c36..a8caf51a 100644 --- a/en_US/upgrade/0-upgrade.iredmail.0.9.5.1-0.9.6.md +++ b/en_US/upgrade/0-upgrade.iredmail.0.9.5.1-0.9.6.md @@ -17,6 +17,7 @@ ## ChangeLog +* Jan 8, 2016: Fixed: missing cron job used to clean up old Roundcube temporary files. * Dec 27, 2016: Add more banned file types/extensions in Amavisd. * Dec 12, 2016: Improve Fail2ban filter regular expression to catch more POP3/IMAP spams * Nov 9, 2016: Fixed: Memcached listens on all available IP addresses instead of `127.0.0.1` @@ -56,7 +57,7 @@ Please follow this tutorial to upgrade iRedAdmin open source edition to the latest stable release: [Upgrade iRedAdmin to the latest stable release](./migrate.or.upgrade.iredadmin.html) -### Upgrade Roundcube webmail to the latest stable release (1.2.0) +### Upgrade Roundcube webmail to the latest stable release (1.2.3) Please follow Roundcube official tutorial to upgrade Roundcube webmail to the latest stable release immediately: [How to upgrade Roundcube](https://github.com/roundcube/roundcubemail/wiki/Upgrade). @@ -203,6 +204,52 @@ chown www:www /var/www/roundcubemail/plugins/password/config.inc.php chmod 0400 /var/www/roundcubemail/plugins/password/config.inc.php ``` +### Fixed: missing cron job used to clean up old Roundcube temporary files + +iRedMail didn't run script `roundcubemail/bin/gc.sh` to clean up old files +under `roundcubemail/temp/` directory regularly, this directory will grow +larger and larger with temporary files. + +Please edit `root`'s cron job with command below: + +``` +# crontab -e -u root +``` + +Then add cron job like below: + +* RHEL/CentOS: + +``` +# Roundcube: Cleanup old temp files (defaults to keep for 2 days) +2 2 * * * php /var/www/roundcubemail/bin/gc.sh >/dev/null +``` + +* Debian/Ubuntu: + + > __WARNING__: with old iRedMail release, Roundcube directory is + > `/usr/share/apache2/roundcubemail`, please make sure you're using the + > correct one on your server. + +``` +# Roundcube: Cleanup old temp files (defaults to keep for 2 days) +2 2 * * * php /opt/www/roundcubemail/bin/gc.sh >/dev/null +``` + +* FreeBSD: + +``` +# Roundcube: Cleanup old temp files (defaults to keep for 2 days) +2 2 * * * php /usr/local/www/roundcube/bin/gc.sh >/dev/null +``` + +* OpenBSD: + +``` +# Roundcube: Cleanup old temp files (defaults to keep for 2 days) +2 2 * * * php /var/www/roundcubemail/bin/gc.sh >/dev/null +``` + ### Fixed: Nginx doesn't forward real client IP address to SOGo iRedMail-0.9.5-1 and earlier releases didn't correctly configure Nginx to diff --git a/html/upgrade.iredmail.0.9.2-0.9.3.html b/html/upgrade.iredmail.0.9.2-0.9.3.html index 9e7b2a3e..9bbaa494 100644 --- a/html/upgrade.iredmail.0.9.2-0.9.3.html +++ b/html/upgrade.iredmail.0.9.2-0.9.3.html @@ -327,7 +327,7 @@ and clean, it removes all records that are marked as deleted.
# crontab -e -u root
-Then add cron job below:
+Then add cron job like below:
127.0.0.1
Please follow this tutorial to upgrade iRedAdmin open source edition to the latest stable release: Upgrade iRedAdmin to the latest stable release
-Please follow Roundcube official tutorial to upgrade Roundcube webmail to the latest stable release immediately: How to upgrade Roundcube.
Note: package rsync
must be installed on your server before upgrading.
iRedMail didn't run script roundcubemail/bin/gc.sh
to clean up old files
+under roundcubemail/temp/
directory regularly, this directory will grow
+larger and larger with temporary files.
Please edit root
's cron job with command below:
# crontab -e -u root
+
+
+Then add cron job like below:
+# Roundcube: Cleanup old temp files (defaults to keep for 2 days)
+2 2 * * * php /var/www/roundcubemail/bin/gc.sh >/dev/null
+
+
+Debian/Ubuntu:
+++WARNING: with old iRedMail release, Roundcube directory is +
+/usr/share/apache2/roundcubemail
, please make sure you're using the +correct one on your server.
# Roundcube: Cleanup old temp files (defaults to keep for 2 days)
+2 2 * * * php /opt/www/roundcubemail/bin/gc.sh >/dev/null
+
+
+# Roundcube: Cleanup old temp files (defaults to keep for 2 days)
+2 2 * * * php /usr/local/www/roundcube/bin/gc.sh >/dev/null
+
+
+# Roundcube: Cleanup old temp files (defaults to keep for 2 days)
+2 2 * * * php /var/www/roundcubemail/bin/gc.sh >/dev/null
+
+
iRedMail-0.9.5-1 and earlier releases didn't correctly configure Nginx to forward real client IP address to SOGo, this causes Fail2ban cannot catch