[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procmail-Logdatei aufteilen



Am 2004-02-18 10:27:19, schrieb Dirk Prösdorf:
>Thilo Engelbracht <info@engelbracht.de> wrote:
>> Das Problem: Meine procmail-Logdatei wird nach einigen Tagen/Wochen sehr 
>> groß und unübersichtlich.
>
>Warum bindest Du sie nicht bei Logrotate ein?
>| dirk@tux:~$ cat /etc/logrotate.d/local
>| /home/*/Mail/.procmail.log {
>| 	missingok
>| 	nocreate
>| }

oder läßt es gleich von procmail erledigen:

  ____ /home/michelle/.procmailrc _______________________________
 /
|  PATH=$HOME/bin:/usr/bin:/bin:
|  MAILDIR=$HOME/Maildir
|  DEFAULT=$MAILDIR/INBOX/
|  LOGFILE=$HOME/log/procmail-`date +%Y-%m-%d`.log
|  VERBOSE=off
 \_______________________________________________________________


Greetings
Michelle

-- 
Registered Linux-User #280138 with the Linux Counter, http://counter.li.org/ 



Reply to: