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

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

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


From: Dave Abrahams
Subject: Re: nnir-notmuch-engine setup with gnus/offlineimap/dovecot
Date: Fri, 30 Sep 2016 10:13:12 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (darwin)

on Fri Sep 30 2016, Rainer M Krug <Rainer-AT-krugs.de> wrote:

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

Warning: it's got a lot of user-specific paths and such in it.  The
onmsg project was once intended for general consumption but I've just
been using it to maintain my personal setup.  So you'll need to
customize it.

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

How's battery life?  

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

-- 
-Dave




reply via email to

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