[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: elmo-use-database?



At Wed, 23 Dec 2009 13:50:22 -0900,
David Abrahams wrote:
> 
> I've been digging around in this stuff, and I guess I'm still a bit
> lost.  The main problem is that I don't know what kind of strategy
> fits in well with WL as it is today.  Perhaps I need to create a
> variation of virtual folders that includes whole threads for all
> contained messages?  Figuring out the whole thread is complicated by
> the fact that some messages only have in-reply-to: and others have
> references:, which means, potentially, many searches for matching
> fields to find all of a message's siblings.  Anything you can do to
> help move me along would be a great help.

Recently tackled this problem and creating a folder for a thread seems
quite simple: Find out the message-id of the message which started the
treat and use a filter folder:

,----
| /message-id:<parent>|in-reply-to:<parent>|reference:<parent>/<folder>
`----

Such a virtual folder *should* find all messages that belong to a
threat. Cannot say how fast such a search will be for a huge mailbox
but using such a folder on, let's say: debian-users mailinglist with
appr. 10k of messages in may local imap mailbox is fast enought.

HTH

 -- David

-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... maus.david@gmail.com
ICQ....... 241051416