Ok ... the mailfile that I want to be purged is here
"/root/Mail/incoming/debian/debian"

I want it to go to "/root/Mail/incoming/archived/debian/debian-archived"

folder-hook debian ` 
<tag-pattern>~r>2w<enter><tag-prefix-cond><save-message>=incoming/archived/debian/debian-archived<enter><enter>`

Is this correct?

DAnny

>On Apr 06 12, Christian Ebert :
> To: mutt-users@mutt.org
> Date: Fri, 6 Apr 2012 09:38:21 +0200
> From: Christian Ebert <blacktr...@gmx.net>
> Subject: Re: Moving old posts
> User-Agent: Mutt/1.5.21+52 (c26dbc7021f4) (2011-07-01)
> 
> * 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