* Danny on Friday, April 06, 2012 at 08:49:46 +0200
> I am subscribed to many mailing lists and they grow big very fast.
> 
> What I want to do is to have mutt move all messages from a specific mailbox 
> file that
> are older than say 2 weeks to another mailbox file everytime I open that 
> mailbox
> file.

Something like this should give you an idea:

folder-hook mylist ' \
<tag-pattern>~r>2w<enter>\
<tag-prefix-cond><save-message>myoldlist<enter><enter>'

c
-- 
Python Mutt utilities --->>
https://bitbucket.org/blacktrash/muttils
http://www.blacktrash.org/hg/muttils

Reply via email to