procmail
[Top] [All Lists]

Re: How to use Procmail to remove messages from server after x numberof days

2011-03-01 11:50:42
On Wed, 2 Mar 2011, Tim Rice wrote:


Procmail mail is such a powerful tool I was hoping it may offer a (clean) server side solution. But I think Bart's reply sums it up perfectly, not the right tool for the job.

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.

--
Alan

(  Please address personal email to alan+1@ as email to lists@
   is only read from my subscribed lists. )

____________________________________________________________
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