Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member ralbano's Avatar
    Join Date
    Mar 2008
    Posts
    10

    Question /usr out of space due mailman logs

    Hello, my usr partition is running out of space dua some mailman logs (/usr/local/cpanel/3rdparty/mailman/logs/smtp-failure).
    How can rotate/limit those logs with cpanel?

    Thank you!.
    Jack
    HostManiaWeb.com

  2. #2
    Member
    Join Date
    May 2007
    Posts
    19

    Default

    You can add the following lines in the /etc/logrotate.conf file:

    /usr/local/cpanel/3rdparty/mailman/logs/smtp-failure {
    weekly
    rotate 1
    }


    In this way the log in the question will be rotated once a week.

    You can run the following command in your server's command prompt in order to get familiar with the logrotate functionality:

    man logrotate

    We know cPanel because our web hosting customers love it!
    Check out our special cPanel hosting package!

Similar Threads & Tags
Similar threads

  1. Cpanel suspected due to disk space
    By ebl in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-21-2006, 01:01 PM
  2. Replies: 0
    Last Post: 05-10-2005, 01:54 PM
  3. /usr full due to mailman !
    By Radio_Head in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-30-2003, 03:32 AM
  4. Replies: 9
    Last Post: 10-30-2003, 02:55 AM
  5. Re: Cron <mailman@srv08> /usr/bin/python -S /usr/local/cpanel/3rd
    By sexy_guy in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-22-2003, 01:02 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube