procmail
[Top] [All Lists]

Re: Message expiration?

1997-05-20 10:53:00
On Tue, May 20, 1997 at 05:33:55PM +0300, era eriksson wrote:
On Mon, 19 May 1997 22:27:46 -0600 (MDT),
jmdiehl(_at_)nmia(_dot_)com (J. Michael Diehl) wrote:
 > Hi all.  Has anyone ever figured out how to get procmail to delete
 > messages that are over, say, 30 days old?  Any pointers would be most
 > appreciated.

I'm interested too. In fact, I want to store messages that have an old
date (as given by the "Date:" field) in a separate folder.

  If you have stored From_ lines, they should be easier to handle than
random Date: headers. If you want to go with Date headers, a small C
program for canonicalizing datestamps was posted to this mailing list
around February or so.

The dates given in the From_ line and in the Date field may be very
different (e.g. one year). This is precisely why I want to reject these
messages.

-- 
Vincent Lefevre, vlefevre(_at_)ens-lyon(_dot_)fr | Acorn Risc PC, StrongARM @ 
202MHz
http://www.ens-lyon.fr/~vlefevre      | 20+1MB RAM, Eagle M2, TV + Teletext
PhD in Computer Science, 1st year     | Apple CD-300, SyQuest 270MB (SCSI)
-----------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>