1

Topic: iRedMail Maintenance

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Ubuntu 12.04
- Related log if you're reporting an issue:
====

Are there files/logs, etc. that I can check, say at least once a week, to know if iRedMail is working as it should and has no problems? Like a maintenance process and the like?

Thank you so much in advance for helping me out.

----

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

2

Re: iRedMail Maintenance

You can check logs file sunder /var/log/.

3

Re: iRedMail Maintenance

ZhangHuangbin wrote:

You can check logs file sunder /var/log/.

Can I have a list of specific logs that I need to check to maintain iRedMail's good working condition? Because there are a lot of files under the /var/log/ directory. And also, what are the specific processes that runs with iRedMail?

Thank you so much.

4

Re: iRedMail Maintenance

Main log files are:

/var/log/mail.log (Postfix, Roundcube, Cluebringer, Amavisd log to this file)
/var/log/dovecot.* (Dovecot log file)

5

Re: iRedMail Maintenance

I would also add that Cluebringer also writes to his own log file /var/log/cbpolicyd.log.
This file needs some sort of rotation too.
I'm currently using the following logrotate script:

# cat /etc/logrotate.d/cluebringer 
/var/log/cbpolicyd.log {
        daily
        missingok
        rotate 15
        compress
        delaycompress
        notifempty
        create 640 cluebringer cluebringer
        sharedscripts
        postrotate
                /etc/init.d/cbpolicyd restart
        endscript
}

Regards,

6

Re: iRedMail Maintenance

Hi AndreaC,

may i know the version number of iRedMail you're running? iRedMail should has logrotate setting  setting for Cluebringer log file by default.

7

Re: iRedMail Maintenance

ZhangHuangbin wrote:

Hi AndreaC,

may i know the version number of iRedMail you're running? iRedMail should has logrotate setting  setting for Cluebringer log file by default.

Hi,

we're using 0.8.7. We've recently upgraded from an older 0.8.3 version following the guides at http://www.iredmail.org/wiki/index.php?title=Main_Page.

Andrea