How about this:
macro index,pager a "<save-message>=Archives/`date +%Y`<enter>"
* Michael Tatge [2010-12-23 11:51]:
* On Tue, Dec 07, 2010 05:37PM +0000 seanh (snh...@gmail.com) muttered:
I'm trying to emulate Thunderbird 3's mail archiving behaviour in mutt. In
Thunderbird if you select a mail or mails and hit the archive button or press
the 'a' key then it moves the mail(s) into an archive folder. For each account
it creates a folder called Archives with sub-folders for each year into which
the mails are moved: Archives/2010, Archives/2009
Have a look at archivemail ( http://archivemail.sourceforge.net/ )
HTH,
Michael
--
Kirill Miazine
mailto:k...@krot.org
http://km.krot.org/