From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85098 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: blog post on gnus, dovecot, and lucene Date: Wed, 08 Oct 2014 00:30:31 +0800 Message-ID: <87iojvzvtk.fsf@ericabrahamsen.net> References: <87y4sszb70.fsf@ericabrahamsen.net> <878uks9ooo.fsf@zoro.exoscale.ch> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1412699500 24501 80.91.229.3 (7 Oct 2014 16:31:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Oct 2014 16:31:40 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33342@lists.math.uh.edu Tue Oct 07 18:31:34 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XbXfh-0001ad-9k for ding-account@gmane.org; Tue, 07 Oct 2014 18:31:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1XbXf6-0007zu-1w; Tue, 07 Oct 2014 11:30:56 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1XbXf3-0007zU-U1 for ding@lists.math.uh.edu; Tue, 07 Oct 2014 11:30:53 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XbXf2-0000GZ-6e for ding@lists.math.uh.edu; Tue, 07 Oct 2014 11:30:53 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XbXez-00083X-VY for ding@gnus.org; Tue, 07 Oct 2014 18:30:50 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XbXey-0000xT-Bq for ding@gnus.org; Tue, 07 Oct 2014 18:30:48 +0200 Original-Received: from 50.56.99.223 ([50.56.99.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Oct 2014 18:30:48 +0200 Original-Received: from eric by 50.56.99.223 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Oct 2014 18:30:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 50.56.99.223 User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:/2DkdB5YEP/770050upJouGQa34= X-Spam-Score: -1.7 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85098 Archived-At: Vincent Bernat writes: > ❦ 7 octobre 2014 13:43 +0800, Eric Abrahamsen  : > >> I mentioned a bit ago that I had shifted my gnus/dovecot setup, and >> would blog about it. I finally did that: >> >> http://ericabrahamsen.net/tech/2014/oct/gnus-dovecot-lucene.html >> >> The gist of it is how to move to an always-running dovecot daemon, fed >> by isync, and incorporating lucene searches into that. > > Note that you don't have to run dovecot as a server. You can run it as a > process. In mbsyncrc: > > Tunnel "/usr/lib/dovecot/imap -o mail_location=maildir:~/.mbsync/mails/XXXXX" > > In Gnus: > > #+BEGIN_SRC elisp > (nnimap-stream shell) > (nnimap-shell-program "/usr/lib/dovecot/imap -o mail_location=maildir:~/.mbsync/mails/XXXXX") > #+END_SRC Yes, hence the section titled "The Problem" in that blog post :) Perhaps I could have made that clearer! So far as I can tell, if you're calling dovecot as a process, you can't integrate lucene text indexing -- that only works when running dovecot as a daemon. In fact that was the whole impetus for the shift, and the blog post: going from dovecot-the-process to dovecot-the-daemon, because of the need for search indexing. E