From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57922 Path: main.gmane.org!not-for-mail From: Niklas Morberg Newsgroups: gmane.emacs.gnus.general Subject: Re: Searching emails on an IMAP server? Date: Mon, 21 Jun 2004 08:13:33 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1087798513 10099 80.91.224.253 (21 Jun 2004 06:15:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Jun 2004 06:15:13 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M6463@lists.math.uh.edu Mon Jun 21 08:15:01 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BcI57-0002VH-00 for ; Mon, 21 Jun 2004 08:15:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BcI3u-0005Pn-00; Mon, 21 Jun 2004 01:13:46 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BcI3m-0005Pf-00 for ding@lists.math.uh.edu; Mon, 21 Jun 2004 01:13:38 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BcI3g-0003jI-0J for ding@lists.math.uh.edu; Mon, 21 Jun 2004 01:13:32 -0500 Original-Received: from miranda.se.axis.com (unknown [212.209.10.220]) by justine.libertine.org (Postfix) with ESMTP id A06783A0034 for ; Mon, 21 Jun 2004 01:13:29 -0500 (CDT) Original-Received: from lnxniklas.se.axis.com (lnxniklas.se.axis.com [10.84.8.1]) by miranda.se.axis.com (8.12.9/8.12.9/Debian-5local0.1) with ESMTP id i5L6DQPr023408; Mon, 21 Jun 2004 08:13:26 +0200 Original-To: James Leifer In-Reply-To: (James Leifer's message of "Sat, 19 Jun 2004 14:34:44 +0200") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57922 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57922 James Leifer writes: > Niklas Morberg writes: > >> Are there any better options out there? I still want to have >> all my emails on the IMAP-server, but I don't mind a local >> copy (as with Zoe). I use a GNU/Linux system, and the >> IMAP-server is running Exchange. > > Hi, Hi James, > I run a cron job that indexes all my mail, which consists of about 30K > messages stored in maildir or mh format (one file per message) > nightly. The indexing is performed by swish++ which is available > under Debian woody. Ah, so you already have all your mails available locally? > Then when I want to search, I populate a directory with symlinks to > the messages swish++ returned. > > Advantages: this gives me nearly instantaneous searching (fraction of > a second) through all my mail. Excellent, just what I'm after. > Disadvantages: the folder of search results does not have the marks > associated with the real messages nor are mark-changes to the search > results propogated to the real messages. That's not a big problem for me. > BTW, maybe nnir.el has a swish++ driver? Actually it does. It also supports glimpse, waissearch, excite, swish-e, namazu and hyrex (and native IMAP search). The thing I haven't found yet is how to get any of these search methods to play nice with IMAP -- they all seem to want local files to work with. Maybe I could run a cron job that copies mail off my IMAP server and stores them locally (just like Zoe)? Or maybe use Zoe just as an email fetch script and use another search engine to index them? A Zoe backed to gnus would be another option, but I don't think I could pull off writing one. Thanks for your reply James, I'll do some more googling to see if I can come up with anything else. Niklas