Re: [Tracker] Evolution support (IMAP)



Michal Pryc wrote:
jamie wrote:
On Thu, 2007-07-26 at 10:43 +0100, Michal Pryc wrote:
Hello tracker developers!

I was testing evolution support for tracker and I run into one problem. I have thousands of e-mails in different subdirectories on the IMAP, so I did checked one subdirectory for offline browsing, which is needed by tracker and here problem started.

The tracker are going through all of the e-mails in every subdirectory even if it is not selected for offline browsing, which takes ages. In my opinion this is not ideal concept.

It would be *much* better if tracker could take information which directory is actually *selected* for offline browsing and that go through only those ones.
we dont really know which are offline though

perhaps in future we can provide options to select various subfolders to index but the default would be 
everythin
I've just made a little of investigation and there is way of getting this data. In each subfolder for the imap account there is file cmeta, which contains information if the folder is selected for offline browsing.

For example file:
~/.evolution/mail/imap/exampleimap server com/folders/Mailing-lists/subfolders/tracker/cmeta
Hello again,

So more precisely if the last byte in the file cmeta that belongs to the specific subfolder is (HEX 81) than the folder is selected for offline browsing, and if it is (HEX 80) than the folder is NOT selected for offline browsing.

--
best
Michal Pryc



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