The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Syslogd and maillog

Discussion in 'E-mail Discussions' started by SplashHost.com, Jan 30, 2002.

  1. SplashHost.com

    SplashHost.com Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    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?
     
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  3. SplashHost.com

    SplashHost.com Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    ive put # in from of the mail related entries in syslogd, it doesnt seem to make a difference, how do i lock it?
     
  4. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    Remove the lines all together....
    And then
    chattr +i /etc/syslogd.conf

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

    SplashHost.com Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    Thanks feanor
     
Loading...
Similar Threads - Syslogd maillog
  1. NiklasRieckenFR
    Replies:
    1
    Views:
    415

Share This Page