Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Syslogd and maillog

Discussion in 'E-mail Discussion' 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:
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. SplashHost.com

    SplashHost.com Well-Known Member

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

    feanor Well-Known Member

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

    and then restart syslog
    (/etc/rc.d/init.d/syslog restart)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. SplashHost.com

    SplashHost.com Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    306
    Thanks feanor
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice