On Wed, 2007-05-16 at 07:47 -0400, Charles Marcus wrote:
Although one possibility would be treat mailboxes a bit similarly than keywords. So that when a message is copied to another mailbox, the message in dbox file is updated to contain information that it exists in such and such mailboxes. Hmm. Perhaps that would be good enough, yes.
Yes, I think treating mailboxes similary to keywords is ideal. There really is no reason to physically separate mailboxes on disk. All that is needed is this logical separation if it can be done in a reliable way.
Or maybe track this in mailbox-specific index files, and also have a corespodning text file that stores a list of messages that are contained in that mailbox... similar to maildir's dovecot-uidlist file. Then if you lose the index you can rebuild the index from the text file.
This sounds suspiciously like 'virtual folders', that are supported by both Evolution and Thunderbird... how do they do it?
They're based on filtering rules. I don't think they support "copying" messages. So the virtual folders are easily rebuilt by just re-applying the filters into all the messages.