procmail
[Top] [All Lists]

Re: Expiring mailboxes?

2000-11-01 14:52:10
Shawn wrote,

| Has anyone cobbled together a way to "expire" mailboxes the same way
| that usenet groups expire?  Ie, run a script against a set of mailboxes
| and periodically kill off all mail older than a certain time or more
| than N messages?

Emil's suggestion to use maildirs -- or any other format where every message
is stored in a separate file -- is the easiest if your MUA supports them.
If your MUA uses mbox format, you can use the timestamp in the From_ line
or the topmost Received: header to determine the age of a message.

_______________________________________________
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>
  • Re: Expiring mailboxes?, David W. Tamkin <=