From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65370 Path: news.gmane.org!not-for-mail From: David Newsgroups: gmane.emacs.gnus.general Subject: Re: released mairix backend nnmairix.el Date: Sat, 06 Oct 2007 23:17:24 +0200 Organization: Linux Private Site Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1191705638 6059 80.91.229.12 (6 Oct 2007 21:20:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 Oct 2007 21:20:38 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13881@lists.math.uh.edu Sat Oct 06 23:20:34 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1IeH4R-0005De-GN for ding-account@gmane.org; Sat, 06 Oct 2007 23:20:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1IeH3Y-0002Fq-2K; Sat, 06 Oct 2007 16:19:28 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1IeH3V-0002FZ-4v for ding@lists.math.uh.edu; Sat, 06 Oct 2007 16:19:25 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1IeH3O-0007hS-K6 for ding@lists.math.uh.edu; Sat, 06 Oct 2007 16:19:25 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1IeH3F-0003OG-00 for ; Sat, 06 Oct 2007 23:19:09 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IeH26-0000pJ-6f for ding@gnus.org; Sat, 06 Oct 2007 21:17:58 +0000 Original-Received: from musil.physik3.gwdg.de ([134.76.92.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Oct 2007 21:17:58 +0000 Original-Received: from de_bb by musil.physik3.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Oct 2007 21:17:58 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 63 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: musil.physik3.gwdg.de User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:tmVoeIigbdYlSOLN1wfz3qL3sTM= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:65370 Archived-At: "Georg C. F. Greve" writes: >I currently am using nnmaildir: (for mairix), nnml: (for normal mail) >and nnfolder: (for archival) and tried to create the nnmairix group by >"G b c" as documented. You shouldn't have to use a nnmaildir-server in Gnus just for mairix. In fact, I guess this is the reason for the problems you describe. For nnmairix to work, your search folders must be on the same backend as your "real" mail folders (in your case nnml). Maybe I should this make more flexible, but I thought it makes the setup easier. Mairix should work directly with nnml. Simply use base=...your base folder for your nnml directories... mh=...folders you want to index... mformat=mh in your .mairixrc. When you create the nnmairix default server, choose the nnml server as your mail backend. (Before you do this, delete your old nnmairix server by killing all nnmairix groups and restarting Gnus). I'm not sure about your mbox-files you use with nnfolder, though. But I guess you could simply include them with mbox=...your mbox-files (relative to 'base')... in your .mairixrc and it should also work with nnmairix. There is one drawback to using nnml with mairix, though: the article count will often be wrong (but will be corrected as soon as you enter the group). I think this could be quite easily fixed in mairix itself (it simply has to output consecutive article numbers). > When looking on the disk, I see the following nnmaildir directories: > > ~/.nnmaildir/zz_mairix-search-1 > ~/zz_mairix-search-1 > > with only the one in my home directory actually holding any mail, but > never being found by Gnus, while the one in the .nnmaildir structure > remains empty. This is because you specified the nnmaildir-server as your mail backend. However, mairix will put the search results under the path you specified with the 'base' variable in your .mairixrc. Maybe I should better explain how nnmairix.el works: When you create the default search group with the name "search", it creates the group "zz_mairix-search-1" on the "real" mail backend which you specified (e.g. nnmaildir:MYSERVER). When you query mairix with a search term, the binary is called with "-o zz_mairix-search-1", i.e. mairix will put the search results into the folder zz_mairix-search-1 under the 'base' directory. This means, the 'base' path in .mairixrc and the base path of your mail folders have to be the same. Regards, David