1

Topic: iredapd and iredapd-rr services not updating logs

==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL): iRedAdmin-Pro-LDAP-1.7.2
- Linux/BSD distribution name and version: CentOS 5.8
- Any related log? Log is helpful for troubleshooting.
====

HI,

As per the configuration stated in : http://www.iredmail.org/wiki/index.php? … D/OpenLDAP
cat /etc/logrotate.d/iredapd settings changes the logs iredapd and iredapd-rr and compresses perfectly but the main issue is iredapd.log and iredapd-rr.log files are not getting updated once the .bz2 files are generated. everytime I have to restart the iredapd and iredapd-rr services then after it generates respective log files.

Is there any other settings required to prevent such logs?

----

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

2

Re: iredapd and iredapd-rr services not updating logs

Did you try restarting iRedAPD service(s) in postrotate section? For example:

    postrotate
        /etc/init.d/iredapd restart
        /etc/init.d/iredapd-rr restart
    endscript

3

Re: iredapd and iredapd-rr services not updating logs

thanks Zhang... its working fine now.