Hello, Le mercredi 09 janvier 2008 à 16:50 -0500, Dan Bryant a écrit : > Tracker was not correctly indexing Evolution emails for me (tested on > release 0.6.4, trunk SVN revision 1095). > > Symptoms: > > * I am using IMAP mailbox with an auth description in the URI. > example: imap://dan;[EMAIL PROTECTED]/;etc > > FWIW, this is a MS Exchange server being accessed through IMAP. > > * Observed problem: trackerd was translating this URI into an account > name of "dan;[EMAIL PROTECTED]" where the correct account > name (and evolution directory name) is "[EMAIL PROTECTED]". The > attached patch fixes the issue for me, but I do not have access to an > account with a imap URI not including this auth information. Patch is > against trunk HEAD revision. > > * Observed behavior when this happened was that all sent messages in the > local folders were being indexed, and the console output of trackerd > looked like it was finding the IMAP accounts properly, but no emails > were indexed. > > * The attached patch fixes the algorithm to look up account name by imap > URI for the embedded auth case and refactors it into a static function. > > * The lookup function is then called from load_evolution_config() when > checking for Evolution accounts, and from open_summary_file() when > matching the summary file to be indexed to an evolution account. > > * All changes are confined to src/trackerd/tracker-email-evolution.c
I committed your patch with some (very) small modifications. Please, let me know if you still encounter some problems. > Hope this helps, Yes, it does! Thanks for your help. Laurent. > Dan > > > > _______________________________________________ > tracker-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/tracker-list
signature.asc
Description: Ceci est une partie de message numériquement signée
_______________________________________________ tracker-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/tracker-list
