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!

MAILLOG remains EMPTY after LOGROTATION!

Discussion in 'E-mail Discussion' started by jackie46, Apr 9, 2006.

  1. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    166
    There is a problem with the weekly logrotation. I'v had to correct this problem on 4 boxes.

    After weekly logrotation runs, the maillog file, /var/log/maillog remains at zero bytes and does not record anything until you restart syslog. In order to correct that, i have to run /etc/init.d/syslog restart every week to get it to start writing entries. :rolleyes:
     
  2. nothsa

    nothsa Well-Known Member

    Joined:
    Nov 30, 2004
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    156
    I have the same problem, but mine stops evey day. It was interfering with sending e-mail as (I believe) antirelayd checks maillog to see whether or not it should allow someone to send mail. I've added a cron job that runs /scripts/restartsrv_syslogd every day but I'd like to get rid of it if anyone has a fix.
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    166
    I dont understand the solution that Chripy refers too.

    I think there are some spelling mistakes that affect how it sounds.

    Also, this issue also happens on RHEL3.
     
  5. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    168
    All you are doing is changing when the temp files are.

    Code:
    export TMPDIR=
    can be any valid directory that you want.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...
Similar Threads - MAILLOG remains EMPTY
  1. Al Gilson
    Replies:
    3
    Views:
    149

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