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

Re: elmo-use-database?



At Fri, 25 Dec 2009 13:15:39 -0900,
David Abrahams wrote:
> 
> > what about a filter folder filter condition
> > 
> > /thread:<id>/
> > 
> > Where <id> is a message-id and the virtual folder contains the message
> > with this id and all it's children?
> > 
> > The children are found by walking down the "In-Reply-To:"and
> > "References:" fields. User may additionally chose to search children
> > by the subject.
> 
> Yes, that's what I had in mind.  But I'm having a hard time figuring
> out how that could be implemented.

I was excited for a moment when I thought the IMAP server could do it
for me.  IMAPv4 has a THREAD command::
http://www.networksorcery.com/enp/rfc/rfc5256.txt (based on
http://www.jwz.org/doc/threading.html)

Unfortunately, it seems this command needs a search criterion; it then
threads the messages that are matched.  I could make the criterion
empty—which essentially asks it to thread the whole "history"
mailbox—and then just pick out the subset I'm interested in, but given
the size of my history I think that'll be prohibitive.

So close, and yet...

--
Dave Abrahams           Meet me at BoostCon: http://www.boostcon.com
BoostPro Computing
http://www.boostpro.com