A question was posed on grouping mail by date and sorting out to new mailboxes. This type of solution might be for a mailbox that has huge volume, hundreds of messages per day. This was the first solution I came up with before I was told the mail was on a remote IMAP server.
perl -MMail::Util=read_mbox -MMail::Audit -le'Mail::Audit->new(data=>$_)->accept("mail/%Y%m%d.mbox") foreach read_mbox shift' inbox.mbox
Then the mutt solution was provided by someone else. I'm always amazed at what mutt can do.
T ~d dd/mm/yy-dd/mm/yy
Posted from caseywest.com, comment here.