On Thu, Dec 23, 2010 at 10:06:48PM +0100, Kirill Miazine wrote: > * 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 > > How about this: > > macro index,pager a "<save-message>=Archives/`date +%Y`<enter>" > > -- > Kirill Miazine > mailto:k...@krot.org > http://km.krot.org/
That doesn't take into account the date that the mail was sent and/or received. -- Brandon