procmail
[Top] [All Lists]

date filtering of old messages

2003-01-22 04:20:46
Hi all,

I'd like to filter messages in my inbox according to date, i.e., automatically delete messages that are older than a given number of days.
I'm faced with two problems here :
a) how to filter messages that are already in my inbox
b) how to write up a suitable condition regarding the "age" of messages

Regarding a) I am wondering, if there is no other way than to move away my mailbox, feed it to procmail, and have procmail recreate the mailbox, because I see (maybe wrongly) the risk of loosing my mailbox, if anything goes wrong between the moving step and procmail's rewriting of the mailbox..

Regarding b) maybe someone already has a recipe for this (detecting messages older than "today minus nn days"?

Tia

Pierre
--
pierre(_dot_)fridez(_at_)aiub(_dot_)unibe(_dot_)ch
University of Berne, Switzerland


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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