Nikolaus Hiebaum skribis:
I use this recipe (taken from procmailex) to store all e-mail headers
into a file: [...]
But is there a way to define in the rule that the file should not get
bigger than X and if it reaches that size, old headers should be
deleted?
Or base the gz-filename on something that changes, like the date.
If you never need to look back more than a week, then use something
like headc-1.gz for monday, headc-2.gz for tuesday, etc. Don't
forget to delete the monday-file just before monday starts (cron).
--
Affijn, Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail