From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9595 Path: news.gmane.org!not-for-mail From: Austin Frank Newsgroups: gmane.emacs.gnus.user Subject: mairix search results Date: Wed, 29 Aug 2007 14:24:20 +0300 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188386681 32311 80.91.229.12 (29 Aug 2007 11:24:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2007 11:24:41 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Aug 29 13:24:37 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IQLf3-00045K-H0 for gegu-info-gnus-english@m.gmane.org; Wed, 29 Aug 2007 13:24:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQLf3-0000cZ-A9 for gegu-info-gnus-english@m.gmane.org; Wed, 29 Aug 2007 07:24:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IQLf1-0000cD-KW for info-gnus-english@gnu.org; Wed, 29 Aug 2007 07:24:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IQLez-0000bN-Vr for info-gnus-english@gnu.org; Wed, 29 Aug 2007 07:24:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQLez-0000bK-Rf for info-gnus-english@gnu.org; Wed, 29 Aug 2007 07:24:33 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IQLez-0001TW-In for info-gnus-english@gnu.org; Wed, 29 Aug 2007 07:24:33 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IQLer-0001Z4-UF for info-gnus-english@gnu.org; Wed, 29 Aug 2007 13:24:25 +0200 Original-Received: from cs78150123.pp.htv.fi ([62.78.150.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Aug 2007 13:24:25 +0200 Original-Received: from austin.frank by cs78150123.pp.htv.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Aug 2007 13:24:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 57 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cs78150123.pp.htv.fi User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (darwin) Cancel-Lock: sha1:48crLHzV6Uzc4xUEodJGCjeTby4= X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9595 Archived-At: Hello! I recently started using mairix, a mail indexing tool. Mairix allows keyword searching in the body, headers, or attachment titles of all indexed mailboxes. Search results are written out into a mailbox format of the user's choice. Options include maildir, ml, and mbox. For maildir and ml formatted results, the directories contain symlinks to the original message; for mbox, copies are made. I set my .mairixrc like so: base=~/Maildir maildir=.mail.academic:.mail.general:.mail.misc:.mail.personal mfolder=~/Mairix/results mformat=maildir database=~/mairix_index performing a search inserts symlinks to the results in ~/Mairix/results/cur. I added this directory to my list of secondary select methods (setq gnus-secondary-select-methods '((nnmaildir "mairix" (directory "~/Mairix")) ;; (other methods...) )) News correctly notices the new "nnmaildir+mairix:results" group. So far so good. By default, mairix overwrites old results on each new search. Gnus, however, remembers all of the messages that have ever been in the directory. If the first search I run after creating the ~/Mairix directory returns 100 results, and the next search returns 50, I expect to see 50 as the number of messages in the group, but instead see 150. I have gnus-agent set to t, which I guess could be affecting things. Is there a way to tell the nnmaildir backend to forget about the messages it has seen before? I also have the option of serving maildir formatted mailboxes over imap using a local installation of Dovecot. Would forgetting previously seen messages be possible with the nnimap backend? If neither nnmaildir or nnimap supports this behavior, is there a way to do it with nnml or nnmbox? Thanks for any help, /au -- Austin Frank http://aufrank.net GPG Public Key (D7398C2F): http://aufrank.net/personal.asc