exim_mainlog - how often rotate?

SupermanInNY

Well-Known Member
Jul 19, 2003
255
0
166
Hi All,

I need to investiage an email that is not showing up, not being delivered etc.

I started looking at exim_mainlog, but this is a huge file - 250MB and runs all the way back
to February.

This is of course makes it very hard if not possible to work with.

Is there a log rotation or something that needs to be ran so that I get a managable size
file, perhaps a new file each month?

Thanks,

-Alon.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
34
473
Go on, have a guess
Depending on your OS, it should be being rotated by logrotate - is that running? It's usually initiated in the daily cron /var/log/daily/logrotate - make sure it isn't kicking out any errors when it does run.
 

SupermanInNY

Well-Known Member
Jul 19, 2003
255
0
166
chirpy said:
Depending on your OS, it should be being rotated by logrotate - is that running? It's usually initiated in the daily cron /var/log/daily/logrotate - make sure it isn't kicking out any errors when it does run.

RH9
And when I ran this command manually:

/usr/sbin/logrotate /etc/logrotate.conf

I got this msg on screen:

error: Ignoring httpd.rpmorig, because of .rpmorig ending

However,. it did run through and now I have a new 200K size of exim_mainlog

Thanks! I can now finally open the file and start exploring the problems :)

-Alon.