Re: [exim] Slightly OT: autodelete older emails

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: David Walters
Dátum:  
Címzett: exim-user
Tárgy: Re: [exim] Slightly OT: autodelete older emails
On Wed, Mar 26, 2008 at 05:18:40AM -0700, Yan Seiner wrote:
> I am using exim .forward to put all mailist emails into a single lists
> file. Now I would like to set up that list file as a ringbuffer, so
> that when a new email comes in, an older one drops off. (most maillists
> are archived anyway, so there's no point in keeping old emails).
>
> I can either do this as each mail comes in, or daily in batch, but how
> do I set up a filter to delete older emails? Or should I write a script
> to do this from cron?


I do something similar and run archivemail from cron.

http://archivemail.sourceforge.net/

David
-- 
David Walters              +44 7989 574 161            david@???
   A. Because it breaks the logical order of conversation.
   Q. Why is top posting bad?