Re: [Evolution] [Bulk] Fast full-text search of e-mails?



as an option...

i've had pretty good results with

http://www.rpcurnow.force9.co.uk/mairix/


I configured it to populate it's results into a folder that is part of
my evolution hierarchy, so that that i can use evo to view the 'found'
emails (see man mairixrc )

$ cat .mairixrc
#######################################################################
# Set this to the directory where your maildir folders live
base=MyMaildirFolderBase

#######################################################################
# You need to define at least one of maildir, mh and mbox. You probably don't
# need to define all three!  You can use >1 line for any of these.
#mbox=nbox-archive-2008:Sent-2008
maildir=myListOfMailRepositoriesToSearchPerTheManual

#######################################################################
# Set this to the folder within 'base' where you want the search mode
# to write its output.
mfolder=.mairix
# this   ^^^^^^ folder is in my evo hierarchy, so results linked into
# here are visible in evolution

# Set this if you want the format of mfolder to be mh or mbox (the default is
# maildir).
mformat=maildir

#######################################################################
# Set this to the path where the index database file will be kept
database=/home/rthompso/.mairix_index

the mairix index job is cron'd to run several times per hour
this index DB isn't small for me, ~300 MB, but i've got well over a
hundred thousand emails taking up over 4GB of disk space


search body of emails for "Homeland"

$ time mairix b:Homeland
Matched 6196 messages

real    0m0.587s
user    0m0.113s
sys     0m0.463s

I don't have an exact size for the amount of data searched - it's across
more than a dozen folders, but it is in excess of 4GB, as the largest
maildir directory in my 'index list' is 4GB in size, with 89K+ emails in
it











Attachment: mairix.png
Description: mairix.png



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