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.

syslog.conf (mail log question)

Discussion in 'E-mail Discussions' started by DigiCrime, Apr 23, 2006.

  1. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    Why is there more then one instance?

    Code:
    # Log all kernel messages to the console.
    # Logging much else clutters up the screen.
    #kern.*                                                 /dev/console
    
    # Log anything (except mail) of level info or higher.
    # Don't log private authentication messages!
    *.info;mail.none;authpriv.none;cron.none                /var/log/messages
    
    # The authpriv file has restricted access.
    authpriv.*                                              /var/log/secure
    
    # Log all the mail messages in one place.
    local0.notice;local0.debug;mail.*;mail.none;mail.info;local0.info /var/log/maillog
    
    
    # Log cron stuff
    cron.*                                                  /var/log/cron
    
    # Everybody gets emergency messages
    *.emerg                                                 *
    
    # Save news errors of level crit and higher in a special file.
    uucp,news.crit                                          /var/log/spooler
    
    # Save boot messages also to boot.log
    local7.*                                                /var/log/boot.log
    local0.notice;local0.debug;mail.*;mail.none;mail.info;local0.info /var/log/maillog
    local0.notice;local0.debug;mail.*;mail.none;mail.info;local0.info /var/log/maillog
    local0.notice;local0.debug;mail.*;mail.none;mail.info;local0.info /var/log/maillog
    local0.notice;local0.debug;mail.*;mail.none;mail.info;local0.info /var/log/maillog
    local0.notice;local0.debug;mail.*;mail.none;mail.info;local0.info /var/log/maillog
    local0.notice;local0.debug;mail.*;mail.none;mail.info;local0.info /var/log/maillog
    local0.notice;local0.debug;mail.*;mail.none;mail.info;local0.info /var/log/maillog
    local2.* /var/log/sendmail-wrapper.log
    local0.notice;local0.debug;mail.*;mail.none;mail.info;local0.info /var/log/maillog
    local0.notice;local0.debug;mail.*;mail.none;mail.info;local0.info /var/log/maillog
    Find this problem to be on going for a long while now, starting to bug me more so now. This causes the var parition to fill up fast, doesn't help with resources either. I remove them from time to time but they re-appear again. My question here is why are there more the one and why does it keep returning. Would it be ideal to just lock the file so no changes can be made?
     
  2. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    so... any one know? :cool:
     
  3. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    bumping up, really would like to know... im guessing no one knows :rolleyes:
     
  4. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    just to update my own thread lol I figured out how it gets there running /scripts/fixrelayd but how it gets there without any person actually running it is beyond me

    so its a start
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    AFAIK, it's only /scripts/fixrelayd that does it. You should definitely remove all of those duplicate lines as it can cripple your server and break functionality of a few things too.
     
  6. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    Yup, definately causes load issues, just not sure how it gets there on its own..

    Thanks for the follow up.
     
Loading...

Share This Page