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.

exim_incoming msglog

Discussion in 'General Discussion' started by equens, Oct 5, 2005.

  1. equens

    equens Well-Known Member

    Joined:
    Feb 8, 2002
    Messages:
    270
    Likes Received:
    0
    Trophy Points:
    16
    Can I delete /var/spool/exim_incoming/msglog? (9.6G)
    Thanks!
     
    #1 equens, Oct 5, 2005
    Last edited: Oct 5, 2005
  2. bijo

    bijo Well-Known Member

    Joined:
    Aug 21, 2004
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Hello,

    Run the following command

    echo " " > /var/spool/exim_incoming/msglog

    And also write a script to clear the log and run it as a cron
     
  3. equens

    equens Well-Known Member

    Joined:
    Feb 8, 2002
    Messages:
    270
    Likes Received:
    0
    Trophy Points:
    16
    Thanks Bijo !!
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Since you're using MailScanner if you have that directory I would recommend that you upgrade to the latest version of my script if you're using tht as it now disable the creation of files in the msglog. If not, add the following in the first box of the advanced exim configuration editor:

    no_message_logs

    Then there's no need to write a cron job to clear it down after you do so initially.
     
  5. Wojjie

    Wojjie Member

    Joined:
    Dec 7, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Toronto, Canada
    These msglogs helped take down my servers once. (/var ran out of space)
     

Share This Page