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!

exim_mainlog as daily log file?

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

  1. khoonchee

    khoonchee Well-Known Member
    PartnerNOC

    Joined:
    Oct 2, 2002
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    166
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. mctDarren

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    3
    Trophy Points:
    168
    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

  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