Gnus development mailing list
 help / color / mirror / Atom feed
From: David <de_bb@arcor.de>
To: ding@gnus.org
Subject: Re: released mairix backend nnmairix.el
Date: Sat, 06 Oct 2007 23:17:24 +0200	[thread overview]
Message-ID: <kzhcl4vt7f.fsf@musil.physik3.gwdg.de> (raw)
In-Reply-To: <m3641kqq2f.fsf@cerebro.fsfeurope.org>

"Georg C. F. Greve" <greve@fsfeurope.org> 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







  parent reply	other threads:[~2007-10-06 21:17 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-26 13:52 Getting rid of the zombies in dynamically created groups Georg C. F. Greve
2007-09-26 18:38 ` Reiner Steib
2007-09-26 22:38   ` Georg C. F. Greve
2007-09-27  6:12     ` Reiner Steib
2007-09-27 21:35       ` Georg C. F. Greve
2007-10-04  8:04 ` released mairix backend nnmairix.el (was: Getting rid of the zombies in dynamically created groups) David
2007-10-04 16:29   ` released mairix backend nnmairix.el Reiner Steib
2007-10-05  9:15     ` David
2007-10-05 16:41       ` Reiner Steib
2007-10-06 14:24       ` Georg C. F. Greve
2007-10-06 18:59         ` Bastien
2007-10-06 21:20           ` David
2007-10-06 23:19             ` Bastien
2007-10-07 16:09               ` David
2007-10-08  9:33                 ` Bastien
2007-10-06 21:17         ` David [this message]
2007-10-06 23:17           ` Bastien
2007-10-07 11:12           ` Georg C. F. Greve
2007-10-07 15:53             ` David
2007-10-08  9:33               ` Bastien
2007-10-04 16:48   ` released mairix backend nnmairix.el (was: Getting rid of the zombies in dynamically created groups) Bastien
2007-10-04 17:18     ` released mairix backend nnmairix.el Bastien
2007-10-05  9:46       ` David
2007-10-05 12:00         ` Bastien
2007-10-04 23:54   ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=kzhcl4vt7f.fsf@musil.physik3.gwdg.de \
    --to=de_bb@arcor.de \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).