Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / 49 / 51d78c39bac72e50b44a7e90e7a0f1cf885573
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 D7E6840BFD3\r
6         for <notmuch@notmuchmail.org>; Thu, 23 Sep 2010 01:02:13 -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: -1.99\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.99 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
13         DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01]\r
14         autolearn=ham\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id WaqZtH1bgC3q for <notmuch@notmuchmail.org>;\r
18         Thu, 23 Sep 2010 01:02:03 -0700 (PDT)\r
19 Received: from homiemail-a17.g.dreamhost.com (caiajhbdcaid.dreamhost.com\r
20         [208.97.132.83])\r
21         by olra.theworths.org (Postfix) with ESMTP id 4361540BDA1\r
22         for <notmuch@notmuchmail.org>; Thu, 23 Sep 2010 01:02:03 -0700 (PDT)\r
23 Received: from homiemail-a17.g.dreamhost.com (localhost [127.0.0.1])\r
24         by homiemail-a17.g.dreamhost.com (Postfix) with ESMTP id 4893C7A8069\r
25         for <notmuch@notmuchmail.org>; Thu, 23 Sep 2010 01:02:03 -0700 (PDT)\r
26 DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:subject\r
27         :in-reply-to:references:date:message-id:mime-version:\r
28         content-type; q=dns; s=sspaeth.de; b=QsitrIoB5FtOtWtYAIgVhBB2IsN\r
29         9nG4QDRk9Ow21/883/JMDSoJmdYHdmuMX1Tvp/b1RdTRLVl873nWs/x/HxAzjJ9x\r
30         sl7nYg94WRJxz7XvKH9Kcky7QCN2ht6vK6hUmk0YoZg+5PDj32FfmMr88Nh4ZWq4\r
31         Gk/84LOjckdAWnHE=\r
32 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to\r
33         :subject:in-reply-to:references:date:message-id:mime-version:\r
34         content-type; s=sspaeth.de; bh=y2M2jklouiIGdAZbKBmU795RyIk=; b=c\r
35         HSe4tsgxqBjMWEkTXDkdcm81SN+18l6WUgfA21dvttaadAUWxVB3h0BgMVJ6lLT8\r
36         RdRJXs9pvu50bfVv0qfafCg5y4ui5dxRKSzWui83NznPMdq98ejIerPJrtWZPpjZ\r
37         SL7heZu4g6PKnqh5csb3F/7SfGF3YCxXTRGuS8KOwY=\r
38 Received: from spaetzbook.sspaeth.de (mtec-hg-docking-2-dhcp-016.ethz.ch\r
39         [82.130.121.16]) (Authenticated sender: fax@sspaeth.de)\r
40         by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPA id E78E47A805C\r
41         for <notmuch@notmuchmail.org>; Thu, 23 Sep 2010 01:02:01 -0700 (PDT)\r
42 Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation);\r
43         Thu, 23 Sep 2010 10:01:59 +0200\r
44 From: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
45 To: Notmuch developer list <notmuch@notmuchmail.org>\r
46 Subject: notmuchsync default behavior change (was: notmuchsync: handling of\r
47         the deleted tag)\r
48 In-Reply-To: <877hie4o1w.fsf@raven.defaultvalue.org>\r
49 References: <87bp7vewa5.fsf@raven.defaultvalue.org>\r
50  <87mxrcsb8a.fsf@SSpaeth.de>    <87r5gnomt2.fsf@raven.defaultvalue.org>\r
51  <87zkvb4eiq.fsf@SSpaeth.de>    <877hie4o1w.fsf@raven.defaultvalue.org>\r
52 User-Agent: Notmuch/0.3.1-43-g5d515b7 (http://notmuchmail.org) Emacs/23.1.50.1\r
53         (x86_64-pc-linux-gnu)\r
54 Date: Thu, 23 Sep 2010 10:01:54 +0200\r
55 Message-ID: <87eickhor1.fsf@SSpaeth.de>\r
56 MIME-Version: 1.0\r
57 Content-Type: multipart/signed; boundary="=-=-=";\r
58         micalg=pgp-sha1; protocol="application/pgp-signature"\r
59 X-BeenThere: notmuch@notmuchmail.org\r
60 X-Mailman-Version: 2.1.13\r
61 Precedence: list\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: Thu, 23 Sep 2010 08:02:14 -0000\r
72 \r
73 --=-=-=\r
74 \r
75 On 2010-09-22, Rob Browning wrote:\r
76 > In general, I think that until/unless notmuchsync can be more assured of\r
77 > doing the right thing, and in particular, if the deleted tag is likely\r
78 > to become official, notmuchsync should default to not setting it.\r
79 > ...or at least, I'd prefer that.  Then I can add --tag-deleted if/when I\r
80 > want to.  Of course defaulting to --tag-deleted would also be OK, as\r
81 > long as there's a --no-tag-deleted.\r
82 \r
83 notmuchsync does not want to delete anyones' e-mails by accident and\r
84 although I believe that syncing the "deleted" tag should usually be\r
85 safe, I can think of situations with multiple copies of a mail where\r
86 things could go wrong. I therefore disabled syncing of the maildir flag\r
87 "trashed" and the notmuch tag "deleted" by default. It has to be\r
88 explicitly be enabled with the new --sync-deleted option.\r
89 \r
90 Sebastian\r
91 \r
92 ------------------------------------------------------------------\r
93 For reference, this could be a szenario where things turn out bad:\r
94 \r
95 - Send a mail with FCC to your Sent folder and BCC yourself. You have\r
96 then 2 mail copies with the same mail id (1 notmuch entry)\r
97 \r
98 - "Expire" your BCC copy via some mail/webclient, it gets maildir flag\r
99 "T"\r
100 \r
101 - notmuch --revsync will examine new mails and in case the BCC copy is\r
102 what notmuch points to, notmuchsync will then add the notmuch tag\r
103 "deleted" to that mail id.\r
104 \r
105 - notmuchsync --prune deletes the BCC mail copy but does not remove the\r
106   "deleted" tag in the notmuch db (it probably should for safety\r
107   reasons).\r
108 \r
109 - 'notmuch new' will now recognize the BCC copy as removed and point to the\r
110   "Sent/FCC" copy as the current file, but it still carries the "deleted"\r
111   tag for the mail.\r
112 \r
113 - notmuchsync --prune will happily delete your Sent/FCC copy of the\r
114   mail, or notmuchsync --sync will mark your Sent/FCC copy with the\r
115   "expired" maildir flag.\r
116 \r
117 --=-=-=\r
118 Content-Type: application/pgp-signature\r
119 \r
120 -----BEGIN PGP SIGNATURE-----\r
121 Version: GnuPG v1.4.10 (GNU/Linux)\r
122 \r
123 iEYEARECAAYFAkybCXIACgkQVYX1jMgnoGKH8gCfZ5/k1+/0djyZwgnxHWvCZHY4\r
124 G18An20A3MELeF9mTyOk2aKVpBG2V+J4\r
125 =y1tC\r
126 -----END PGP SIGNATURE-----\r
127 --=-=-=--\r