/var/log/mail* rotate problem

From: Jan Albrecht (jan.albrecht_at_gmail.com)
Date: 03/21/05

  • Next message: Martin Mewes: "Howto delete TLS out of Debian-sendmail?"
    Date: 21 Mar 2005 01:22:02 -0800
    To: debian-user@lists.debian.org
    
    

    Hi all,

    I have a more or less curious problem here:
    I do logrotate my logfiles via logrotate, even the mai.* logfiles. But
    something is wrong there:
    After a few days the mail.* files are looking thins way:
    /var/log/mail.info
    /var/log/mail.info.1
    /var/log/mail.info.1.1
    /var/log/mail.info.1.1.1
    /var/log/mail.info.1.1.1.1
    /var/log/mail.info.1.1.1.1.1
    /var/log/mail.info.1.1.1.1.1.1
    /var/log/mail.info.1.1.1.2.gz
    /var/log/mail.info.1.1.2.gz
    /var/log/mail.info.1.1.2.gz.1
    /var/log/mail.info.1.2.gz
    /var/log/mail.info.1.2.gz.1
    /var/log/mail.info.1.2.gz.1.1
    /var/log/mail.info.1.3.gz
    /var/log/mail.info.2.gz

    Does anyone of you know where this comes from? I've searched my config
    over and over and it seems to me that some script besides logrotate is
    rotating these files, too. But I still can't find this script.

    Thanks in advance,

    J

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Martin Mewes: "Howto delete TLS out of Debian-sendmail?"

    Relevant Pages

    • Re: squid logging period
      ... > the logfiles generated by squid. ... RedHat Linux 2.4.18-5 ... know about logrotate. ...
      (alt.os.linux)
    • Re: Size of wtmp files
      ... >> SuSE 7.2 runs cron.daily, which among other things, rotates ... Not using logrotate - suse 7.2 simply used a script. ... an attacker has full reign to edit the log files with impunity. ...
      (comp.os.linux.misc)
    • Re: logrotate error
      ... logrotate -bash-3.00# logrotate -f logrotate.conf error: ... running script with arg /var/log/servicelog: " /bin/killall -s HUP ntpd; ... If you have not used strace before, its output is voluminous enouhg to bring ... to see what they do when they receive signals. ...
      (comp.os.linux.setup)
    • Re: Size of wtmp files
      ... > wtmp file. ... > truncated, then I have to use a somewhat clumsy script to zcat the files, ... Yeah, I've got to repair my ignorance of suse real soon, or I would ... Didn't really occur to me that logrotate ...
      (comp.os.linux.misc)
    • Re: Size of wtmp files
      ... for logrotate to configure it the way you want. ... > a script to run 'last' repeatedly on zcatted versions of the rotated files, ... an attacker has full reign to edit the log files with impunity. ...
      (comp.os.linux.misc)