At 09:50 2011-03-01, Alan Clifford wrote:
I do it. Not on my system mailbox but on the mailboxes for mails
such as this mailing list which procmail has put in
~/mail/IN.procmail. Essentially, it deletes stuff that is more than
'n' days old and keeps the younger stuff.
It is rather a monster kludge involving cron, bash script, formail,
procmail and lockfile.
If you just move the messages into dated subdirectories, you don't
have to reprocess anything. The downside is that exchanged rarely
wrap up within the confines of an arbitrary date cutoff, so you've
got exchanges in last months (or weeks) archive, and they continue
into the current one. But then, lots of stuff doesn't wrap up in
7-10 days either.
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail