Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Rainer M Krug <Rainer@krugs.de>
To: Dave Abrahams <dave@boostpro.com>
Cc: info-gnus-english@gnu.org
Subject: Re: nnir-notmuch-engine setup with gnus/offlineimap/dovecot
Date: Fri, 30 Sep 2016 14:56:08 +0200	[thread overview]
Message-ID: <m2oa35r1g7.fsf@krugs.de> (raw)
In-Reply-To: <m2bmz5wr14.fsf@boostpro.com> (Dave Abrahams's message of "Fri, 30 Sep 2016 04:44:39 -0700")


[-- Attachment #1.1: Type: text/plain, Size: 4003 bytes --]

Dave Abrahams <dave@boostpro.com> writes:

> on Thu Sep 29 2016, Rainer M Krug <Rainer-AT-krugs.de> wrote:
>
>> Dave Abrahams <dave@boostpro.com> writes:
>>
>>> on Fri Sep 23 2016, Rainer M Krug <Rainer-AT-krugs.de> wrote:
>>>
>>>> Dmitry Alexandrov <321942@gmail.com> writes:
>>>>
>>>>>> Most discussions on this topic point to
>>>>>> http://roland.entierement.nu/blog/2010/09/08/gnus-dovecot-offlineimap-search-a-howto.html
>>>>>>
>>>>>> 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.
>>>>
>>>> I am using exactly the same setup, except that I am using
>>>>
>>>> ,----
>>>> | (nnimap-shell-program "/usr/local/opt/dovecot/libexec/dovecot/imap -o mail_location=maildir:$HOME/Maildir")))
>>>> `----
>>>>
>>>> to access my local mail and I don't have a dovecot daemon running
>>>> permanently.
>>>
>>> Yes.  Other things that work really well in a setup like that are:
>>>
>>> 1. Using dovecot's mdbox storage format, which is much more efficient
>>
>> There is, among others, one reason why I don't use mbox format:
>> backup. If I add an email to a folder, the whole mbox file will be
>> backed up - in the case of maildir, only the new mail file. This saves
>> backup space, especially as I am using a Mac and Time Machine which is
>> doing hourly backups.
>
> Not mbox; mdbox.  I've used this setup on a mac with network TM for a
> long time.

OK - sorry.

>
>>> 2. Building dovecot with clucene and stemmer support for search
>>
>> Does this really work with nnimap-shell-program? I thought one has to
>> use the dovecot daemon for this?
>
> Yes, it works.  Feel free to scrape http://github.com/onmsg/onmsg for details
> and ask me questions for more.  There's a script in there that I use to
> install (most of) this setup with homebrew.

Thanks - will look into this.

>
>>>
>>> 3. Using mbsync from the isync project (scales much better than
>>>    offlineimap IMO, though I am about to try dropping it because doveadm
>>>    sync is already part of dovecot)
>>
>> offlineimap works for me - and never change a running system (well -
>> that's the theory).
>
> I don't suppose you're syncing any really large folders then?  Among
> other things I found doing it all through Python was causing way
> much CPU usage on my Macbook pro.

Hm - I am syncing my All Mail folder as well (1.3GB - just checked), so everything double,
I am not using idle, just every two minutes fast sync and every 10
minutes normal sync - is not really that heavy on my Macbook Pro
Retina. OK - If I am waiting for a sync it is not fast - but what is
when you are waiting...

>
>> Interesting - didn't know about doveadm sync - any experiences with
>> it?
>
> Not yet.
>
>> How does it compare to isync and offlineimap?
>
> I'm not really in a position to comment yet; I've just skimmed the
> output of doveadm help sync.


OK.

Thanks for the info,

Rainer

>
>>>
>>>>>
>>>>> The Internet Archive Wayback Machine comes to your aid :-)
>>>>>
>>>>> http://wayback.archive.org/web/20160305042051/http://roland.entierement.nu/blog/2010/09/08/gnus-dovecot-offlineimap-search-a-howto.html
>>>>>
>>>>> (I have no idea whether this page is in fact helpful though.)
>>>>
>>>> This link is helpful, but it did not actually help with getting the
>>>> search to work. There was another discy=ussion abl=out using lucene in
>>>> dovecot for the search, but as you, I would prefer notmuch search.
>>>>
>>>> I have simply defined a shortcut for me to do the search - much
>>>> easier. You could even rebiung GG ?
>>>>
>>>> Cheers,
>>>>
>>>> Rainer
>>>>
>>>>>
>>>>> _______________________________________________
>>>>> info-gnus-english mailing list
>>>>> info-gnus-english@gnu.org
>>>>> https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]



  reply	other threads:[~2016-09-30 12:56 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-22 23:00 Arkady Grudzinsky
2016-09-23  5:21 ` Dmitry Alexandrov
2016-09-23  7:56   ` Rainer M Krug
2016-09-29 21:06     ` Dave Abrahams
2016-09-30  1:33       ` myglc2
2016-09-30  7:04         ` Rainer M Krug
2016-09-30 14:01           ` myglc2
2016-09-30 15:04             ` Rainer M Krug
2016-09-30 17:13             ` Dave Abrahams
2016-09-30 12:02         ` Dave Abrahams
2016-09-30 14:28           ` myglc2
2016-09-30 15:06             ` Rainer M Krug
2016-09-30  6:59       ` Rainer M Krug
2016-09-30  9:51         ` Alan Schmitt
2016-09-30 10:33           ` Rainer M Krug
2016-09-30 11:50           ` Dave Abrahams
2016-09-30 11:44         ` Dave Abrahams
2016-09-30 12:56           ` Rainer M Krug [this message]
2016-09-30 17:13             ` Dave Abrahams
2016-09-23  7:58 ` Rainer M Krug
2016-09-23 21:27   ` Adam Sjøgren
2016-09-26 23:51     ` Arkady Grudzinsky
2016-09-27  2:54       ` Adam Sjøgren
2016-09-27  7:27       ` Rainer M Krug
2016-09-28 22:10         ` Arkady Grudzinsky
2016-09-29  6:57           ` Rainer M Krug

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=m2oa35r1g7.fsf@krugs.de \
    --to=rainer@krugs.de \
    --cc=dave@boostpro.com \
    --cc=info-gnus-english@gnu.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).