From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18405 Path: news.gmane.org!.POSTED!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.user Subject: Re: nnir-notmuch-engine setup with gnus/offlineimap/dovecot Date: Fri, 30 Sep 2016 10:13:12 -0700 Message-ID: References: <87vaxndwe6.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1475256066 14065 195.159.176.226 (30 Sep 2016 17:21:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Sep 2016 17:21:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (darwin) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Sep 30 19:21:01 2016 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bq1UF-0000Tk-Vr for gegu-info-gnus-english@m.gmane.org; Fri, 30 Sep 2016 19:20:40 +0200 Original-Received: from localhost ([::1]:45961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq1UH-0006C4-E3 for gegu-info-gnus-english@m.gmane.org; Fri, 30 Sep 2016 13:20:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq1UE-0006Bm-7U for info-gnus-english@gnu.org; Fri, 30 Sep 2016 13:20:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bq1U9-0007Xl-DT for info-gnus-english@gnu.org; Fri, 30 Sep 2016 13:20:37 -0400 Original-Received: from [195.159.176.226] (port=57203 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq1U9-0007Wz-65 for info-gnus-english@gnu.org; Fri, 30 Sep 2016 13:20:33 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bq1Tv-0006ck-5v for info-gnus-english@gnu.org; Fri, 30 Sep 2016 19:20:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 124 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:lrXxWZrTvnPEGGWllUiFaDpDCiA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: "info-gnus-english" Xref: news.gmane.org gmane.emacs.gnus.user:18405 Archived-At: on Fri Sep 30 2016, Rainer M Krug wrote: > Dave Abrahams writes: > >> on Thu Sep 29 2016, Rainer M Krug wrote: >> >>> Dave Abrahams writes: >>> >>>> on Fri Sep 23 2016, Rainer M Krug 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