<<< Date Index >>>     <<< Thread Index >>>

Re: Automatically Deleting old Messages



* tyler.roach@xxxxxxxxxxxxxx [2007-06-15 23:56 +0300]:
>    Is there any way I can make mutt (or another application)
>    automatically delete messages in _certain_ folders (such as mailing
>    lists) that are over a certain number of days old?

I use folder-hooks to execute
push "<tag-pattern> ~r>10d\n<untag-pattern> ~F|~D|~O|~N\n<untag-pattern> 
~(!~T)\n<tag-prefix-cond><save-message>\n\n<sync-mailbox><first-entry><next-new><redraw-screen>"
on entering specific folders.

Nicolas

-- 
http://www.rachinsky.de/nicolas