[Dovecot] dbox redesign

Timo Sirainen tss at iki.fi
Wed May 16 15:42:21 EEST 2007

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070516/cb866ca5/attachment.pgp 

More information about the dovecot mailing list