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_mainlog as daily log file?

Discussion in 'E-mail Discussions' started by khoonchee, Feb 10, 2009.

  1. khoonchee

    khoonchee Well-Known Member
    PartnerNOC

    Joined:
    Oct 2, 2002
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    I am looking for the options for configuring exim_mainlog to store in daily format instead of how it was setup right now. Perhaps something like exim_mainlog.10022009, exim_mainlog.11022009 ...etc
     
  2. mctDarren

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    New Jersey
    cPanel Access Level:
    Root Administrator
    You can set up log rotate to store log files daily. Just add:
    Code:
    daily
    rotate 7
    
    to the exim logrotate file and it will start doing it. Keep an eye on it, though, especially if you don't have it set up to compress the files. They can get pretty big depending upon what you have exim logging.
     
Loading...

Share This Page