Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Nov 2002
    Posts
    153

    Default reduce exim logs

    Hi,
    can anyone help me, I need to reduce the amount that is written to the exim main_log. I have rbl filters in place and the rejected messages are filling up exim logs quickly.

    I want to stop these being written to the exim logs and other events such as queue runs etc..

    I have tried the log_selector = option but can't seem to get it to stop writing to the logs.

    Thanks

  2. #2
    Member
    Join Date
    Feb 2005
    Location
    North Carolina
    Posts
    237

    Default

    IMHO a better approach would be to rotate the logs more frequently which you can control through /etc/logrotate.conf and /etc/logrotate.d/exim. You never know when you might need that information to troubleshoot an issue.

    How large are the logs getting?

  3. #3
    Member
    Join Date
    Nov 2002
    Posts
    153

    Default

    Hi,
    The 2 main reasons i want to reduce the amount written to the logs is

    1 to reduce the space used in /var
    2 to reduce the load on the hd

    Rotating them still uses too much space in /var and does not reduce the load on the hd. I am not looking to stop all logs but just stop the spam rbl rejected ones from being written to the logs.

    There are 1000's per day of 'this messages was rejected because ip is listed at spamhaus' etc..

    I have no need for this info in the logs. The log i removed yesterday was 2GB.

    Reading the exim docs log_selector = can add extra info to logs or remove it by using the + or - sign

    something like
    log_selector = +all -dnslist_defer

    should work but i can't seem to get it to.

    thanks

  4. #4
    Member
    Join Date
    Jan 2005
    Posts
    1,880

  5. #5
    Member
    Join Date
    Nov 2002
    Posts
    153

    Default

    hi,
    yes I already read the docs but it does not seem to make any difference using log_selector = -


    still get the same logs

Similar Threads & Tags
Similar threads

  1. exim smtp logs
    By mammadshah in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-07-2010, 07:09 AM
  2. Status says Exim down, logs say Exim up.
    By jenlepp in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-12-2007, 05:03 PM
  3. How to reduce SPAM through exim.conf ?
    By eurorocco in forum cPanel and WHM Discussions
    Replies: 36
    Last Post: 04-07-2005, 04:07 PM
  4. Exim Logs-- What is this?
    By wscreate in forum cPanel and WHM Discussions
    Replies: 21
    Last Post: 11-07-2004, 11:46 PM
  5. Where are the exim logs
    By welo in forum New User Questions
    Replies: 8
    Last Post: 05-03-2004, 02:19 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube