info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mairix search results


From: David
Subject: Re: mairix search results
Date: Wed, 29 Aug 2007 13:58:42 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (gnu/linux)

Austin Frank <austin.frank@gmail.com> writes:
> 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 written a Gnus backend for mairix (nnmairix.el) which I
hope to release shortly. I still have to resolve some minor bugs and
write some documentation. 

Writing this backend was more complicated than I thought due to the
problems you describe. Gnus isn't really amused when things are
happening behind its back.

> Is there a way to tell the nnmaildir backend to forget about the
> messages it has seen before?

After much fiddling I hope I resolved the issue by deleting and
re-creating the group using the nnmaildir backend. However, this leads
to a new problem since the article numbers then start again at 1, but
this is corrected by the nnmairix backend. If someone knows an easier
way I'd love to hear about it.

> 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?

I also happen to use Dovecot together with mairix, and it isn't really
amused either when the contents of mailboxes suddenly changes, so I also
use "delete and re-create mailbox" with nnimap before calling mairix.

Using nnmairix with nnml doesn't help, since mairix doesn't necessarily
produce consecutive article numbers, so the article count is usually wrong
(but gets corrected after you have entered the group).

-David





reply via email to

[Prev in Thread] Current Thread [Next in Thread]