Hi,
[...]
~/mail/personal/in/ Inbox for personal messages
~/mail/personal/ Archive for personal messages
~/mail/mutt-kz/in/ Inbox for messages related to mutt-kz
~/mail/mutt-kz/ Archive for messages related to mutt-kz
~/mail/bzr/in/ Inbox for messages related to bzr
~/mail/bzr/ Archive for messages related to bzr
...
~/mail/INBOX/ Catch-all for everything else
And so on.
So, I'm hoping I'll be able to maintain some similar sort of
organization on-disk, to facilitate access by shell scripts and
such, and in case I ever decide to stop using tags. Maybe that's
silly of me; I don't know yet.
My first step is to figure out how to tag messages based on my
existing Maildir structure.
Notmuch automatically 'tags' messages based on which folder they are in.
This should find all your 'bzr' archive messages.
notmuch search folder:mail and folder:bzr and not folder:in
I don't mind doing this on a per-directory basis, but `
<modify-labels> refuses to work while I'm viewing a Maildir. It only
works on virtual folders. Is there some other easy way I should edit
tags for Maildirs?
Maybe not necessary per the above?
From there, I'm wondering how to keep tags and Maildirs in sync.
Or, at least, mostly in sync. Notmuchfs? Some weird system of
hard links or symlinks? Something else? What are the options
here?
Again, maybe not necessary? 'notmuch new' updates the folder: 'tags' as
you move the message between various folders.
If I'm using notmuchfs, is it worth even attempting to keep the
backing store organized?
I also had gazillion mail folders, but nowdays I have just three, INBOX,
archive and general. INBOX is everything I should see on my phone too,
'general' is inbox for everything else which I don't want to see on my
phone and 'archive' is being populated by mails which are removed from
my IMAP account.
Also, any hints are welcome on the easiest way to do initial
tagging. So far, I'm thinking probably notmuch-deliver via
procmail, since I'm already sorting via procmail anyway. Dunno
if I can get it to still deliver to specific Maildirs though.
Why not keep the mails where they are, and just run 'notmuch new'?
Cheers
--
Vlad