Topic: Hotfix for 0.6.0: Add missing log files in logrotate. (Debian/Ubuntu)
This post is used to fix missing mail log files in iRedMail. if it doesn't work for you, please post a new topic in General Technical Support forum.
========
Abstract
iRedMail-0.6.0 doesn't include two mail log files (/var/log/mail.info, /var/log/mail.err) in logrotate config file (/etc/logrotate.d/maillog), it may eat up too much disk space if we didn't rotate it.
Affected versions
All iRedMail versions, but only occurs on Debian/Ubuntu.
Steps to fix it
* Add missing log files in logrotate config file: /etc/logrotate.d/maillog
# ---- OLD SETTING ----
/var/log/mail.log {
# ---- NEW SETTING ----
/var/log/mail.log /var/log/mail.info /var/log/mail.err {
Credits
Thanks to BigMichi1 for his report.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.