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