From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85092 Path: news.gmane.org!not-for-mail From: Vincent Bernat Newsgroups: gmane.emacs.gnus.general Subject: Re: blog post on gnus, dovecot, and lucene Date: Tue, 07 Oct 2014 12:09:11 +0200 Message-ID: <878uks9ooo.fsf@zoro.exoscale.ch> References: <87y4sszb70.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1412676617 6102 80.91.229.3 (7 Oct 2014 10:10:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Oct 2014 10:10:17 +0000 (UTC) Cc: ding@gnus.org To: Eric Abrahamsen Original-X-From: ding-owner+M33336@lists.math.uh.edu Tue Oct 07 12:10:11 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 1XbRic-0004Zk-RH for ding-account@gmane.org; Tue, 07 Oct 2014 12:10:11 +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 1XbRhp-0006C7-9E; Tue, 07 Oct 2014 05:09:21 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1XbRhl-0006Bi-UD for ding@lists.math.uh.edu; Tue, 07 Oct 2014 05:09:17 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XbRhk-0003e3-6F for ding@lists.math.uh.edu; Tue, 07 Oct 2014 05:09:17 -0500 Original-Received: from bart.luffy.cx ([78.47.78.131]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XbRhi-0008Bb-1H for ding@gnus.org; Tue, 07 Oct 2014 12:09:14 +0200 Original-Received: from bart.luffy.cx (localhost [127.0.0.1]) by bart.luffy.cx (Postfix) with ESMTP id 3C75C140EF; Tue, 7 Oct 2014 12:09:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=luffy.cx; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=postfix; bh=I99xdKDs0 Uf/RxS4D4AYzxv3ed8=; b=hcnmOG+9LAjC/xtZrUUuYWC5FQv5xSxwXvF3GWQ/M zS6bwQAy/f556RrZ9UFRtN01hC/SavF85EtNGGcsDFHDBBFZo4fbUtJONFUEdn/L GxJSoe23NS7Y742MOo/iHumf8IStu9uVEAGx4aoZ9mCHP/OiySPKiQ/S0Qi7q67z M4= DomainKey-Signature: a=rsa-sha1; c=simple; d=luffy.cx; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=postfix; b=A1A B49Ts9Or03U0Of1c1P6DWZE2nIEq8yi1XoXximjgCPkGhgn2ZpkBbSa5i5LXxzz6 uVdySz3D4Ta4vw7BBRsxbWr04b5Lit3lwheI4Ax4hVmQCyh3+CEelezVzqNHkLqG d7s6emV4rOSBzBARJKRsZAJkTwMBjjX0IgKUsSKA= Original-Received: from zoro.exoscale.ch (unknown [194.88.192.200]) by bart.luffy.cx (Postfix) with ESMTPS id E83ED1401B; Tue, 7 Oct 2014 12:09:12 +0200 (CEST) Original-Received: by zoro.exoscale.ch (Postfix, from userid 1000) id 0CAD84B4; Tue, 7 Oct 2014 12:09:12 +0200 (CEST) In-Reply-To: <87y4sszb70.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 07 Oct 2014 13:43:47 +0800") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (gnu/linux) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85092 Archived-At: =E2=9D=A6 7 octobre 2014 13:43 +0800, Eric Abrahamsen =C2=A0: > 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:=20 Tunnel "/usr/lib/dovecot/imap -o mail_location=3Dmaildir:~/.mbsync/mails/XX= XXX" In Gnus: #+BEGIN_SRC elisp (nnimap-stream shell) (nnimap-shell-program "/usr/lib/dovecot/imap -o mail_location=3Dmaildir:~/.= mbsync/mails/XXXXX") #+END_SRC --=20 Each module should do one thing well. - The Elements of Programming Style (Kernighan & Plauger)