O.k ... I tried various combinations but it does not seem to work folder-hook .FreeBSD push 'T~s>5d<enter>;s/incoming/os/bsd/FreeBSD-OLD<enter> is what I tried last ...
On Nov 27 15, bastian-muttu...@t6l.de : > To: mutt-users@mutt.org > Date: Fri, 27 Nov 2015 14:43:34 +0100 > From: bastian-muttu...@t6l.de > Subject: Re: Move old messages > User-Agent: Mutt/1.5.23 (2014-03-12) > > On 27Nov15 15:18 +0200, Danny wrote: > > How can I have Mutt move messages (to another folder) automatically after 5 > > days when I go into a > > folder? > > > > I am subscribed to many mailing lists and like to keep old messages for > > archival > > purposes. However, after a few days these folders are getting just too big. > > > > For example: When I open up the FreeBSD folder I want Mutt to automatically > > move > > the older messages to FreeBSD-OLD folder. > > I did achieved a similar goal with: > > folder-hook .folder push 'D~d>365d<enter> > > Deletes messages which date is >356 days. > > So yours might be: > > folder-hook .FreeBSD push 'T~s>5d<enter>;s.FreeBSD-OLD<enter> > > Use that with caution, its a draft and untested. But should give you an > idea. > > > Cheers, > -- > Bastian