logrotate exim error logs (2)

Pzz

Verified User
Joined
May 20, 2013
Messages
138
Location
The Hague area, The Netherlands
I chose the title of this topic with a (2), because it's strongly related to http://forum.directadmin.com/showthread.php?t=52269

I've the same problem: my exim logs are not rotating.

Code:
-rw-r--r--. 1 mail mail 280801273 Jun 15 20:39 mainlog
-rw-r--r--. 1 mail mail   5244977 Jun 15 08:24 paniclog
-rw-r--r--. 1 mail mail         0 Sep 28  2014 processlog
-rw-r--r--. 1 mail mail  47830891 Jun 15 20:36 rejectlog

When I run
Code:
logrotate -d /etc/logrotate.conf 2>&1 | less
I see:

Code:
error: Ignoring exim because of bad file mode - must be 0644 or 0444.

But... Aren't my files 644?

My
Code:
/etc/logrotate.d/exim
looks like:

Code:
/var/log/exim/mainlog /var/log/exim/processlog /var/log/exim/rejectlog /var/log/exim/paniclog {
        sharedscripts
        weekly
        rotate 50
}

Force mode gives the same response.

The file is getting big and I'm overlooking something obvious I'm afraid....?

... help?
 
Back
Top