On 11/28/99 11:20PM, Dwayne C . Litzenberger wrote:
> Anyone know how to get mutt to automatically delete messages after a
> certain age, preferrably only if the entire thread has been inactive for
> that time (I like to archive active threads).

Sorry for the second post, but there looks like an even better
solution on the second page of the search results:

---Begin Copied Message---

This is just another addition to the other solutions :-)
Perhaps using "folder-hooks" would also be an appropriate
solution for you. In my case it is the perfect way. 
I use the following:

  folder-hook =trash 'push T~r>2w!~F\n\;<delete>\x'

This one deletes all mails older than 2 weeks when entering the
trash-folder.

Or:

  folder-hook =lists/mutt 'push T~r>2w!~F\n\;s=lists/mutt_backup\n\x'

This one saves 2week old mails from mutt-users to mutt_backup.

---End Copied Message---

HTH
-- 
                                      __   _ 
Mark Wagnon       (  Debian GNU/ -o) / /  (_)__  __ ____  __    
Chula Vista, CA    )             /\\/ /__/ / _ \/ // /\ \/ /   
[EMAIL PROTECTED] (             _\_v____/_/_//_/\_,_/ /_/\_\

Reply via email to