Personally I often mark messages which need to be worked on later (effort > 2 minutes in GTD speak) with a flag. As flags are preserved when syncronizing Maildirs over IMAP with offlineimap I can mark them both over IMAP client or locally with mutt.
I have multiple email accounts with a lot of subfolders under my ~/Maildir in Maildir++ format. As mutt currently does not has a concept of virtual folders I cannot have a quick overview of all flagged messages across my Maildir++ folder structure out of the box.
I found a partial solution to this problem in a LinuxJournal article. It proposed to just create a dummy maildir and symlink flagged messages there, pointing to the real location. As long as you don’t alter something in the dummy / virtual folder mutt works quite happy with it. But when you start replying or unflagging in your virtual folder mutt changes the name of the symlink instead of the real message in the source folder and the information gots lost on the next run of the script.
Continue reading “vFolder in mutt containing all flagged messages from ~/Maildir”