1 Return-Path: <sebastian@sspaeth.de>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 42C0D431FAE
\r
6 for <notmuch@notmuchmail.org>; Sun, 8 Apr 2012 15:20:08 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id ddSQ4gzSz-5I for <notmuch@notmuchmail.org>;
\r
17 Sun, 8 Apr 2012 15:20:06 -0700 (PDT)
\r
18 Received: from homiemail-a21.g.dreamhost.com (caiajhbdcaib.dreamhost.com
\r
20 by olra.theworths.org (Postfix) with ESMTP id 68647429E30
\r
21 for <notmuch@notmuchmail.org>; Sun, 8 Apr 2012 15:20:06 -0700 (PDT)
\r
22 Received: from homiemail-a21.g.dreamhost.com (localhost [127.0.0.1])
\r
23 by homiemail-a21.g.dreamhost.com (Postfix) with ESMTP id 92606300064;
\r
24 Sun, 8 Apr 2012 15:20:04 -0700 (PDT)
\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=sspaeth.de; h=references
\r
26 :in-reply-to:mime-version:content-type:subject:from:date:to
\r
27 :message-id:content-transfer-encoding; q=dns; s=sspaeth.de; b=QB
\r
28 KvYL+Dpf/nW6Jl5KJjtNm5No8vxJcajs/LVe5p6zYq6e1poiliG7K0voOV1h6YMs
\r
29 sT5ADSBoG74yRYeskDcAVfyga7NvdZ69J5QgVir93Yra9GUJ60uNCLvjc/yMG8LG
\r
30 FrOu++VBj0zVaWDPajNSo2aY2SfbfvglfPWlDgKz0=
\r
31 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sspaeth.de; h=references
\r
32 :in-reply-to:mime-version:content-type:subject:from:date:to
\r
33 :message-id:content-transfer-encoding; s=sspaeth.de; bh=7+dDApmR
\r
34 sm9eufZfJbGufBVX20s=; b=TQaAD32lewQrCMtGyg2OylZMVxz1DBm8VuVLYmBN
\r
35 HJNFNT1eLBR1woVe3PekRxos9xa6HS+iUgXoyDI7AORhGDRcN+xUtxFbI7Eo6ZJk
\r
36 rEeQkNE5Y53V2VvW7yMu12XDn2+tBna3h92V+pS31hs/AXfIpyKyN/B7m8ESR5LR
\r
38 Received: from [192.168.178.21] (unknown [176.46.225.50])
\r
39 (using TLSv1 with cipher RC4-MD5 (128/128 bits))
\r
40 (No client certificate requested)
\r
41 (Authenticated sender: sebastian@sspaeth.de)
\r
42 by homiemail-a21.g.dreamhost.com (Postfix) with ESMTPSA id A13C3300061;
\r
43 Sun, 8 Apr 2012 15:20:02 -0700 (PDT)
\r
44 References: <aaf33fc5-d266-45d1-9bad-e675fa6a0b84@CERNFE22.cern.ch>User-Agent:
\r
45 Notmuch/0.12+81~g839a805 (http://notmuchmail.org) Emacs/23.3.1
\r
46 (i686-pc-linux-gnu) <87ty10ai86.fsf@nikula.org>
\r
47 User-Agent: K-9 Mail for Android
\r
48 In-Reply-To: <87ty10ai86.fsf@nikula.org>
\r
50 Content-Type: text/plain;
\r
52 Subject: Re: notmuch-poll and OfflineIMAP
\r
53 From: Sebastian Spaeth <sebastian@sspaeth.de>
\r
54 Date: Mon, 09 Apr 2012 00:20:01 +0200
\r
55 To: Jani Nikula <jani@nikula.org>,
\r
56 Jacek Generowicz <jacek.generowicz@cern.ch>, notmuch@notmuchmail.org
\r
57 Message-ID: <39d4c9f6-50eb-46ae-9f01-67a9b950cb3e@email.android.com>
\r
58 Content-Transfer-Encoding: quoted-printable
\r
59 X-BeenThere: notmuch@notmuchmail.org
\r
60 X-Mailman-Version: 2.1.13
\r
62 List-Id: "Use and development of the notmuch mail system."
\r
63 <notmuch.notmuchmail.org>
\r
64 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
65 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
66 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
67 List-Post: <mailto:notmuch@notmuchmail.org>
\r
68 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
69 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
70 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
71 X-List-Received-Date: Sun, 08 Apr 2012 22:20:08 -0000
\r
73 Jani Nikula <jani@nikula.org> wrote:
\r
75 >Jacek Generowicz <jacek.generowicz@cern.ch> writes:
\r
79 >> Would you have any advice on how to construct a notmuch-poll script
\r
80 >> that would work well in concert with OfflineIMAP? In particlular,
\r
82 >> can you avoid having to re-issue the IMAP account passwords?
\r
84 >> Any words of wisdom?
\r
86 >Offlineimap supports running hooks after syncing. Check if SIGUSR1 does
\r
87 >that too. Then you could run notmuch new in the post sync hook.
\r
89 >Also, notmuch new supports pre-new and post-new hooks. You could start
\r
90 >or SIGUSR1 offlineimap in the pre-new hook. See man notmuch-hooks for
\r
92 Offlineimap hooks work nicely for running notmuch scripts, i run it this =
\r
93 way. Sending Sigusr1 will invoke that too, but I don't think that would b=
\r
94 e needed. It's mostly for peole running OfflineMap as a daemon....
\r
97 Sent from my Android phone with K-9 Mail. Please excuse my brevity.
\r