Re: [Tracker] Cleanup of sqlite files
- From: Jamie McCracken <jamiemcc blueyonder co uk>
- To: Laurent Aguerreche <laurent aguerreche free fr>
- Cc: Tracker List <tracker-list gnome org>
- Subject: Re: [Tracker] Cleanup of sqlite files
- Date: Fri, 06 Oct 2006 00:26:45 +0100
Laurent Aguerreche wrote:
Le jeudi 05 octobre 2006 Ã 11:02 +0100, Jamie McCracken a Ãcrit :
Laurent Aguerreche wrote:
I propose a patch that works for Evolution.
Thast great
just one thing :
could you add the uri field to the MailMessage struct please (we also
dont need the ExtraFields stuff).
Done.
thanks have now applied
For Thunderbird, I can't currently figure out what "ID" in uris is...
I'm investigating.
is it not the MessageID field of the email?
I am not sure. Beagle seems to parse Inbox.msf files to find IDs.
I looked around but could not find any info on the format of
thunderbird's email uri
FWIW, Im 99% sure the MessageID email field is used in the uri because
looking at the mbox file its the only value unique for an email and the
combination of folder + messageID is globally unique.
Im also sure the msf files are indexes to the mbox file and contain
message Ids in them
note it seems only the latest versions of thunderbird support the email
uri (I get "email is not a registered protocol" if I use email:///)
so for now use the folder name (ie Inbox) + MessageId as the uri
Btw thunderbird handler does not index vfolders. thunderbird stores the
email for a vfolder in the corresponding vfolder mbox and *not* the
Inbox file.
Your code only looks for Inbox and Sent but it should look for all files
without an extension in that folder to pick them up (and they can be
created or deleted too!)
However its not an urgent fix as Gnome uses Evolution in the desktop so
getting that perfect is more important.
We also need to support at some point IMAP for Evolution as emails will
not be held locally in the Inbox in thoses cases (Beagle already handles
these).
--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]