[Top][All Lists]

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

Re: nnir-notmuch-engine setup with gnus/offlineimap/dovecot

From: Rainer M Krug
Subject: Re: nnir-notmuch-engine setup with gnus/offlineimap/dovecot
Date: Fri, 23 Sep 2016 09:58:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin)

Arkady Grudzinsky <> writes:

> Hi,
> I am trying to set up notmuch to search my mail in all my mail
> groups while I want to use Gnus to read and manipulate messages.
> I retrieve mail from Gmail into ~/Mail using offlineimap.
> Offlineimap runs "notmuch new" as a postsynchook.
> Notmuch is set up, and "notmuch search" works from the
> command line.
> Gnus reads the email from a local Dovecot imap server using
> nnimap backend.
> Here is a snippet from my .gnus:
> (setq gnus-secondary-select-methods
>       '(
>         (nnimap "local"
>                 (nnimap-address "localhost")
>                 (nnimap-stream network)
>                 (nnimap-authenticator login)
>                 (nnir-search-engine notmuch)

As far as I understand, the notmuch search only works on a maildir
(nnmaildir I think?) and not nnimap.


>                 ...
>                 )))
> When I run "G G" in Gnus group buffer, I get the following
> messages:
> Doing notmuch query from:agrudzinsky...
> notmuch args: search --format=text --output=files from:agrudzinsky
> Massaging notmuch output...done
> Search produced empty results.
> gnus-select-newsgroup: Couldn’t request group nnir:nnir-s5obmzfd0j4.fsf: 
> Search produced empty results.
> Shell command
> notmuch search --format=text --output=files from:agrudzinsky
> produces a long list of maildir files.
> Most discussions on this topic point to
> The name implies that this may be exactly what I want, but the
> link appears to be dead now.  I get an empty page when I try to
> view it.
> If anyone uses gnus-dovecot-offlineimap set up with notmuch, can
> you, please, post a snippet of your configuration?
> Thanks.

Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

Attachment: signature.asc
Description: PGP signature

reply via email to

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