Tim Gray <tg...@protozoic.com> wrote: > > If mutt simply wrote out messages in a maildir format with a '.eml' > extension, you'd get system wide search integration for free on OS X. [...] > How difficult would this be to implement?
Not difficult. The trouble is that it violates the maildir specification; message filenames have a defined format, and ending with ".eml" breaks that format, which as you noticed, is used for storing flags (so you don't have to rewrite a maildir file just to change the state of a message to "read" or "replied" or "important", etc). Surely someone else has already written a data source module for Spotlight that can read a properly-formatted maildir? That would seem to be a better approach than trying to hack it in with filenames that don't adhere to the maildir spec. Charles -- ----------------------------------------------------------------------- Charles Cazabon GPL'ed software available at: http://pyropus.ca/software/ -----------------------------------------------------------------------