[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nnimap vs. nnmaildir
From: |
Tassilo Horn |
Subject: |
Re: nnimap vs. nnmaildir |
Date: |
Thu, 16 Jul 2009 21:09:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Richard Riley <rileyrgdev@gmail.com> writes:
Hi Richard,
>> Out of couriosity: Is there a special reason you're using mairix
>> instead
>
> Not really, other than finding an article about it a while back.
>
>> of Dovecot's Squat full text search engine? That indexes new mail
>> automatically and also works for non-ascii text in mails.
>
> Thanks for the heads up! How do you integrate gnus with it though?
Like this:
--8<---------------cut here---------------start------------->8---
(add-to-list 'gnus-secondary-select-methods
'(nnimap "Fastmail"
(nnimap-address "localhost")
(nnimap-stream network)
(nnimap-authenticator login)
(nnir-search-engine imap))) ;; <-- THIS LINE
--8<---------------cut here---------------end--------------->8---
Then you can search a group (or a set of marked groups) with `G G'.
> Just to be sure we're singing from the same hymn sheet : by "index" I
> mean to enable fast searches using nnmairix-search.
Yes, that's what I talk about to, but here this work is done on the imap
side completely.
> How is your gnus set up to work with this Squat? Sounds interesting.
Like stated above. On the dovecot side it's only one line, too.
--8<---------------cut here---------------start------------->8---
protocol imap {
mail_plugins = fts fts_squat # <-- THIS LINE
listen = 127.0.0.1:143
ssl_listen = 127.0.0.1:943
}
--8<---------------cut here---------------end--------------->8---
Bye,
Tassilo