Re: [PATCH v4 02/16] Move crypto.c into libutil
[notmuch-archives.git] / 0c / e384019139133d22335b7ec48c0c91d060fe27
1 Return-Path: <schnouki@schnouki.net>\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 698E5431FD0\r
6         for <notmuch@notmuchmail.org>; Tue, 25 Oct 2011 11:29:14 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.1\r
10 X-Spam-Level: \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         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 UnU5WlVS2t+6 for <notmuch@notmuchmail.org>;\r
17         Tue, 25 Oct 2011 11:29:13 -0700 (PDT)\r
18 Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])\r
19         by olra.theworths.org (Postfix) with ESMTP id 56EF7431FB6\r
20         for <notmuch@notmuchmail.org>; Tue, 25 Oct 2011 11:29:13 -0700 (PDT)\r
21 Received: from odin.local (nancy.schnouki.net [78.238.0.45])\r
22         by ks3536.kimsufi.com (Postfix) with ESMTPSA id E94F86A0005;\r
23         Tue, 25 Oct 2011 20:29:11 +0200 (CEST)\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;\r
25         s=key-schnouki; t=1319567352;\r
26         bh=ypM6mbqyIGmg8gnQSOC3zh9yCWg9HsWnHSrgsN2rHSY=;\r
27         h=From:To:Subject:In-Reply-To:References:Date:Message-ID:\r
28         MIME-Version:Content-Type;\r
29         b=h8vyq0sRDlq54FyNV2Xa/3WSdvNOCkjChvi9NuJMnioUMA32ET54JOU+9Rio9MyYU\r
30         CZJCY9SFdSAqM0FdF8MtcNiAuam+WBW3HLTccvCJNDD6JbNWqwA6bfbGfCjaAE9c9R\r
31         uJNWGA+A5CLTjtx6wLsRul4mkEm6WuVbgeyZ87uA=\r
32 From: Thomas Jost <schnouki@schnouki.net>\r
33 To: Gregor Zattler <telegraph@gmx.net>, notmuch <notmuch@notmuchmail.org>\r
34 Subject: Re: how do you do everyday mail catchup with notmuch? (was: Re:\r
35         search for date received possible?)\r
36 In-Reply-To: <20111025173101.GA30342@shi.workgroup>\r
37 References: <20111023145329.GB21842@shi.workgroup>\r
38         <87vcrfvemq.fsf@nausicaa.localdomain>\r
39         <87ehy35qqp.fsf@shi.workgroup> <87wrbufvvv.fsf@tredergarh.home.box>\r
40         <20111025173101.GA30342@shi.workgroup>\r
41 User-Agent: Notmuch/0.9-39-ge84ff5d (http://notmuchmail.org) Emacs/24.0.90.1\r
42         (x86_64-unknown-linux-gnu)\r
43 Date: Tue, 25 Oct 2011 20:29:06 +0200\r
44 Message-ID: <87lis96i31.fsf@schnouki.net>\r
45 MIME-Version: 1.0\r
46 Content-Type: multipart/signed; boundary="=-=-=";\r
47         micalg=pgp-sha1; protocol="application/pgp-signature"\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.13\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52         <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Tue, 25 Oct 2011 18:29:14 -0000\r
61 \r
62 --=-=-=\r
63 Content-Type: text/plain\r
64 Content-Transfer-Encoding: quoted-printable\r
65 \r
66 On Tue, 25 Oct 2011 19:31:01 +0200, Gregor Zattler <telegraph@gmx.net> wrot=\r
67 e:\r
68 > With a convectional email setup, emails are filtered in\r
69 > one/several folders and one looks in these folders for new emails\r
70 > which weren't there last time.  (Especially outlook) users get\r
71 > fooled if important emails have for one reason or another a wrong\r
72 > date and are therefore not sorted at the end/beginning of their\r
73 > emails so they are missed.  Best way to not miss newly arrived\r
74 > email for me is to sort them chronologically according to time of\r
75 > arrival.\r
76 >=20\r
77 > Is there another solution to this email handling problem which\r
78 > works with notmuch (and of which I'm not aware ATM)?\r
79 >=20\r
80 > How do you make sure you don't miss emails while using notmuch?\r
81 \r
82 Here's my setup:\r
83 \r
84 =2D on my server, mails are sorted with Dovecot sieve module. They are put\r
85   in several folders so that I have something usable when I use my\r
86   webmail (RoundCube) or my phone (with IMAP access).\r
87 \r
88 =2D on my PC, I run a script every few minutes which does the following:\r
89   - run offlineimap to sync mails between the remote IMAP server and my\r
90     local Maildir\r
91   - run "notmuch new", configured to add the tags "inbox" and "new" to\r
92     the new  messages\r
93   - run an autotag script inspired by [1] but *much* more complex and\r
94     longer... I wrote it in Python, which is faster than running notmuch\r
95     several dozens of times. It only filters mails with the "new" tag,\r
96     and removes this tag after that, so that they are only sorted once.\r
97   - after new mails are tagged, run a "notify" script that displays a\r
98     notification with a list of unread messages (using libnotify, so\r
99     nicely integrated to the desktop).\r
100   - once per day, run "notmuch dump" to a backup dir.\r
101 \r
102 =2D I then read mails in Emacs, with several saved searches: "tag:unread",\r
103   "tag:inbox", "tag:flagged", "tag:todo", etc. Mails are sorted\r
104   chronologically (oldest first). Using notmuch-search-line-faces, they\r
105   are also displayed in several colors: unread with a specific\r
106   background, "flagged" with another, "tag:todo" with yet another, etc.,\r
107   so that you can spot important messages instantly.\r
108 \r
109 =2D When I have read a message, I archive it by removing both the "unread"\r
110   and "inbox" tags (I bound that to a single key in notmuch-search and\r
111   notmuch-show). And of course I try to keep the numbers of mails in my\r
112   "inbox" as low as possible :)\r
113 \r
114 The combination of the "inbox", "unread", "flagged" and "todo" tags and\r
115 faces works quite well for me. I've been using this setup for several\r
116 months without any problem.\r
117 \r
118 You can find my whole mailsync and notify scripts on Github [2], as well\r
119 as my Emacs config [3]. However I keep my autotag script private because\r
120 there are many email addresses in plaintext there, but if you want I can\r
121 send you a copy off-list (or a stripped-down version on the list).\r
122 \r
123 Regards,\r
124 \r
125 [1]: http://notmuchmail.org/initial_tagging/\r
126 [2]: https://github.com/Schnouki/dotfiles/tree/master/notmuch\r
127 [3]: https://github.com/Schnouki/dotfiles/blob/master/emacs/init-50-mail.el\r
128 =2D-=20\r
129 Thomas/Schnouki\r
130 \r
131 --=-=-=\r
132 Content-Type: application/pgp-signature\r
133 \r
134 -----BEGIN PGP SIGNATURE-----\r
135 Version: GnuPG v1.4.11 (GNU/Linux)\r
136 \r
137 iQEcBAEBAgAGBQJOpv/yAAoJEMPdciX+bh5ItpQH/0WIxdct3jvaCWnIHt3+H1Xg\r
138 mk/I8r5cVl54fV+ZWlfX4K3IZD86wIuMVuCMlvHMT9uFyUrEYFikGal44OptvmD6\r
139 HAdAjIlDF1FoCCRc//AC21r67qE5VI911v4K06q7GNFdlZADC+xXfDApr1sX7Oi3\r
140 d/1wmjzM/Y0qsxYILJ65pezA2FCP0BosrgfxpIPRX3HDqpQfrkim3MTDJXdDokYa\r
141 F04UcN4fK/TmZ04xTRh/qQtEJisI7rcthxshNMBaySEBc8j7QcrrelyRhmg8FLTu\r
142 GGo9gu8z0YL1jYHAuvEeBKwk8i5VfG0vB7jA6GfVsq8ztGaGj9yHs/6pj+BEvRM=\r
143 =kJpm\r
144 -----END PGP SIGNATURE-----\r
145 --=-=-=--\r