On 2006-07-17 John Sullivan <[EMAIL PROTECTED]> wrote:

> But, for mail searching, if you are using maildir, check out mairix. I
> haven't looked at integrating it into emacs yet, but it builds a
> maildir folder containing links to the matching messages, which you
> can then browse in Gnus. I can't believe how fast it searches -- it's
> unreal.

Very true!  The indexing is also *very* fast.

I'm using a very simple "integration" into Gnus (I'm using nnml for
normal mail and nnfolder for archive groups).  I created a directory
~/Mail/search-results and put the following in ~/.mairixrc:

#v+
base=~/Mail
mh=mail...:list...
mbox=archive/sent-mail/[0-9][0-9][0-9][0-9]-[0-9][0-9]:archive/sent-news
mformat=mh
mfolder=search-results
database=/home/mxp/.mairix_db
#v-

I then added ~/Mail/search-results as a foreign nnmh group in Gnus (I
also made it "permanently visible" so that it's easier to find).  For
searching I simply use something like

  M-! mairix f:larsi RET g

in the Group buffer and I can then browse the results in the
search-results group.

The only minor annoyances are that I have to press g to update the
group before entering it the first time and that the message counts
are (understandably) *way* off.  Apart from that I'm very satisfied
with this setup: It's easy, fast, and transparent.

-- 
Michael Piotrowski, M.A.                               <[EMAIL PROTECTED]>
Public key at <http://www.dynalabs.de/mxp/pubkey.txt>
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to