procmail
[Top] [All Lists]

Re: newbie question re: huge procmail log file

2002-02-18 11:32:47
Vous avez écrit, le 02/18/02 à 12:38:29 :
[...]
i now use this (tested):

              DATE = `date +%Y%m`
              OLDDATE = `date -d "4 months ago" +%Y%m`
              LOGFILE = $HOME/procmail-$DATE.log

:0c
| rm -f $HOME/procmail-$OLDDATE.log > /dev/null 2>&1

IMHO, you should better use a monthly cron task (if you receive more
than one email/month, of course :).
-- 
Jacques L'helgoualc'h
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail