Re: notmuch-poll and OfflineIMAP
authorSebastian Spaeth <sebastian@sspaeth.de>
Sun, 8 Apr 2012 22:20:01 +0000 (00:20 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:09 +0000 (09:46 -0800)
1e/b0dae9396eff869d2d37b63f307dc870ae1a2f [new file with mode: 0644]

diff --git a/1e/b0dae9396eff869d2d37b63f307dc870ae1a2f b/1e/b0dae9396eff869d2d37b63f307dc870ae1a2f
new file mode 100644 (file)
index 0000000..b8b4fc1
--- /dev/null
@@ -0,0 +1,97 @@
+Return-Path: <sebastian@sspaeth.de>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 42C0D431FAE\r
+       for <notmuch@notmuchmail.org>; Sun,  8 Apr 2012 15:20:08 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.1\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id ddSQ4gzSz-5I for <notmuch@notmuchmail.org>;\r
+       Sun,  8 Apr 2012 15:20:06 -0700 (PDT)\r
+Received: from homiemail-a21.g.dreamhost.com (caiajhbdcaib.dreamhost.com\r
+       [208.97.132.81])\r
+       by olra.theworths.org (Postfix) with ESMTP id 68647429E30\r
+       for <notmuch@notmuchmail.org>; Sun,  8 Apr 2012 15:20:06 -0700 (PDT)\r
+Received: from homiemail-a21.g.dreamhost.com (localhost [127.0.0.1])\r
+       by homiemail-a21.g.dreamhost.com (Postfix) with ESMTP id 92606300064;\r
+       Sun,  8 Apr 2012 15:20:04 -0700 (PDT)\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=sspaeth.de; h=references\r
+       :in-reply-to:mime-version:content-type:subject:from:date:to\r
+       :message-id:content-transfer-encoding; q=dns; s=sspaeth.de; b=QB\r
+       KvYL+Dpf/nW6Jl5KJjtNm5No8vxJcajs/LVe5p6zYq6e1poiliG7K0voOV1h6YMs\r
+       sT5ADSBoG74yRYeskDcAVfyga7NvdZ69J5QgVir93Yra9GUJ60uNCLvjc/yMG8LG\r
+       FrOu++VBj0zVaWDPajNSo2aY2SfbfvglfPWlDgKz0=\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sspaeth.de; h=references\r
+       :in-reply-to:mime-version:content-type:subject:from:date:to\r
+       :message-id:content-transfer-encoding; s=sspaeth.de; bh=7+dDApmR\r
+       sm9eufZfJbGufBVX20s=; b=TQaAD32lewQrCMtGyg2OylZMVxz1DBm8VuVLYmBN\r
+       HJNFNT1eLBR1woVe3PekRxos9xa6HS+iUgXoyDI7AORhGDRcN+xUtxFbI7Eo6ZJk\r
+       rEeQkNE5Y53V2VvW7yMu12XDn2+tBna3h92V+pS31hs/AXfIpyKyN/B7m8ESR5LR\r
+       nZo=\r
+Received: from [192.168.178.21] (unknown [176.46.225.50])\r
+       (using TLSv1 with cipher RC4-MD5 (128/128 bits))\r
+       (No client certificate requested)\r
+       (Authenticated sender: sebastian@sspaeth.de)\r
+       by homiemail-a21.g.dreamhost.com (Postfix) with ESMTPSA id A13C3300061; \r
+       Sun,  8 Apr 2012 15:20:02 -0700 (PDT)\r
+References: <aaf33fc5-d266-45d1-9bad-e675fa6a0b84@CERNFE22.cern.ch>User-Agent:\r
+ Notmuch/0.12+81~g839a805      (http://notmuchmail.org) Emacs/23.3.1\r
+ (i686-pc-linux-gnu)   <87ty10ai86.fsf@nikula.org>\r
+User-Agent: K-9 Mail for Android\r
+In-Reply-To: <87ty10ai86.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain;\r
+ charset=UTF-8\r
+Subject: Re: notmuch-poll and OfflineIMAP\r
+From: Sebastian Spaeth <sebastian@sspaeth.de>\r
+Date: Mon, 09 Apr 2012 00:20:01 +0200\r
+To: Jani Nikula <jani@nikula.org>,\r
+ Jacek Generowicz <jacek.generowicz@cern.ch>,  notmuch@notmuchmail.org\r
+Message-ID: <39d4c9f6-50eb-46ae-9f01-67a9b950cb3e@email.android.com>\r
+Content-Transfer-Encoding: quoted-printable\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 08 Apr 2012 22:20:08 -0000\r
+\r
+Jani Nikula <jani@nikula.org> wrote:\r
+\r
+>Jacek Generowicz <jacek.generowicz@cern.ch> writes:\r
+>\r
+>> Hello,\r
+>>\r
+>> Would you have any advice on how to construct a notmuch-poll script\r
+>> that would work well in concert with OfflineIMAP?  In particlular,\r
+>how\r
+>> can you avoid having to re-issue the IMAP account passwords?\r
+\r
+>> Any words of wisdom?\r
+>\r
+>Offlineimap supports running hooks after syncing. Check if SIGUSR1 does\r
+>that too. Then you could run notmuch new in the post sync hook.\r
+>\r
+>Also, notmuch new supports pre-new and post-new hooks. You could start\r
+>or SIGUSR1 offlineimap in the pre-new hook. See man notmuch-hooks for\r
+\r
+Offlineimap hooks work nicely for running notmuch scripts, i run it this =\r
+way. Sending Sigusr1 will invoke that too, but I don't think that would b=\r
+e needed. It's mostly for peole running OfflineMap as a daemon....\r
+\r
+--=20\r
+Sent from my Android phone with K-9 Mail. Please excuse my brevity.\r