Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jul 2003
    Posts
    257

    Default exim_mainlog - how often rotate?

    Hi All,

    I need to investiage an email that is not showing up, not being delivered etc.

    I started looking at exim_mainlog, but this is a huge file - 250MB and runs all the way back
    to February.

    This is of course makes it very hard if not possible to work with.

    Is there a log rotation or something that needs to be ran so that I get a managable size
    file, perhaps a new file each month?

    Thanks,

    -Alon.

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Depending on your OS, it should be being rotated by logrotate - is that running? It's usually initiated in the daily cron /var/log/daily/logrotate - make sure it isn't kicking out any errors when it does run.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Jul 2003
    Posts
    257

    Default

    Quote Originally Posted by chirpy
    Depending on your OS, it should be being rotated by logrotate - is that running? It's usually initiated in the daily cron /var/log/daily/logrotate - make sure it isn't kicking out any errors when it does run.

    RH9
    And when I ran this command manually:

    /usr/sbin/logrotate /etc/logrotate.conf

    I got this msg on screen:

    error: Ignoring httpd.rpmorig, because of .rpmorig ending

    However,. it did run through and now I have a new 200K size of exim_mainlog

    Thanks! I can now finally open the file and start exploring the problems

    -Alon.

Similar Threads & Tags
Similar threads

  1. Log Rotate
    By rking in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-15-2009, 03:45 PM
  2. Backups, rotate scheduling
    By bear in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-23-2008, 07:39 AM
  3. Rotate mailman logs
    By neonix in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-30-2005, 01:03 AM
  4. log rotate
    By jlimited in forum New User Questions
    Replies: 0
    Last Post: 08-14-2004, 10:57 AM
  5. xferlog - Safe to Rotate or not?
    By shannon in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-25-2002, 10:25 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube