SplashHost.com

Well-Known Member
Aug 12, 2001
53
0
306
I get a lot of people checking their mail on one of my servers, this is making the maillog huge and syslogd run at 25% to 75% is there anyway to stop logging this?
 

feanor

Well-Known Member
Aug 13, 2001
836
0
316
Make your logs rotate daily instead of weekly?

Or..... you might have duplicate entries in your /etc/syslogd.conf
(duplicate entires going to /var/log/maillog)

Remove them and lock the file (syslogd.conf).... so they don\'t respawn.

That might help.
 

SplashHost.com

Well-Known Member
Aug 12, 2001
53
0
306
ive put # in from of the mail related entries in syslogd, it doesnt seem to make a difference, how do i lock it?
 

feanor

Well-Known Member
Aug 13, 2001
836
0
316
Remove the lines all together....
And then
chattr +i /etc/syslogd.conf

and then restart syslog
(/etc/rc.d/init.d/syslog restart)