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

Re: procmail-Logdatei aufteilen



Michelle Konzack <linux4michelle@freenet.de> wrote:
>>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
> \_______________________________________________________________

Und wie löscht diese Einstellung die alten Logfiles?



Reply to: