Re: Debugging strangeness in To: field
[notmuch-archives.git] / fd / 0bdca679c849f47f6eb910fb2469e79c931975
1 Return-Path: <hohndel@gr8dns.org>\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 1BB6C4196F3\r
6         for <notmuch@notmuchmail.org>; Wed, 21 Apr 2010 14:56:29 -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.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id WVPIyMj7hkqp for <notmuch@notmuchmail.org>;\r
16         Wed, 21 Apr 2010 14:56:28 -0700 (PDT)\r
17 Received: from mail.hohndel.org (mail.hohndel.org [65.23.157.147])\r
18         by olra.theworths.org (Postfix) with ESMTP id 0D237431FC1\r
19         for <notmuch@notmuchmail.org>; Wed, 21 Apr 2010 14:56:28 -0700 (PDT)\r
20 Received: by mail.hohndel.org (Postfix, from userid 112)\r
21         id 7D4EB340FC; Wed, 21 Apr 2010 17:56:27 -0400 (EDT)\r
22 Received: from x200.gr8dns.org (unknown [65.23.157.147])\r
23         by mail.hohndel.org (Postfix) with ESMTP id CBEB1340F4;\r
24         Wed, 21 Apr 2010 17:56:26 -0400 (EDT)\r
25 Received: by x200.gr8dns.org (Postfix, from userid 500)\r
26         id 934C4C0212; Wed, 21 Apr 2010 14:56:26 -0700 (PDT)\r
27 From: Dirk Hohndel <hohndel@infradead.org>\r
28 To: <notmuch@notmuchmail.org>\r
29 Subject: [PATCH 2/2] fix expected test result to include Bcc lines\r
30 Date: Wed, 21 Apr 2010 14:55:58 -0700\r
31 Message-Id: <1271886958-3276-3-git-send-email-hohndel@infradead.org>\r
32 X-Mailer: git-send-email 1.6.6.1\r
33 In-Reply-To: <1271886958-3276-2-git-send-email-hohndel@infradead.org>\r
34 References: <1271886958-3276-1-git-send-email-hohndel@infradead.org>\r
35         <1271886958-3276-2-git-send-email-hohndel@infradead.org>\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Wed, 21 Apr 2010 21:56:29 -0000\r
49 \r
50 this test actually tests behavior that I consider as broken.\r
51 The Bcc should be to the same address as used in the From line,\r
52 otherwise we are creating a potential information leak as email\r
53 that is related to one email account (say, work) is copied to\r
54 a different account\r
55 \r
56 Signed-off-by: Dirk Hohndel <hohndel@infradead.org>\r
57 ---\r
58  test/notmuch-test |    5 +++++\r
59  1 files changed, 5 insertions(+), 0 deletions(-)\r
60 \r
61 diff --git a/test/notmuch-test b/test/notmuch-test\r
62 index 855850c..d939c03 100755\r
63 --- a/test/notmuch-test\r
64 +++ b/test/notmuch-test\r
65 @@ -647,6 +647,7 @@ output=$($NOTMUCH reply id:${gen_msg_id})\r
66  pass_if_equal "$output" "From: Notmuch Test Suite <test_suite@notmuchmail.org>\r
67  Subject: Re: notmuch-reply-test\r
68  To: Sender <sender@example.com>, mailinglist@notmuchmail.org\r
69 +Bcc: test_suite@notmuchmail.org\r
70  In-Reply-To: <${gen_msg_id}>\r
71  References: <${gen_msg_id}>\r
72  \r
73 @@ -665,6 +666,7 @@ output=$($NOTMUCH reply id:${gen_msg_id})\r
74  pass_if_equal "$output" "From: Notmuch Test Suite <test_suite_other@notmuchmail.org>\r
75  Subject: Re: notmuch-reply-test\r
76  To: Sender <sender@example.com>, mailinglist@notmuchmail.org\r
77 +Bcc: test_suite@notmuchmail.org\r
78  In-Reply-To: <${gen_msg_id}>\r
79  References: <${gen_msg_id}>\r
80  \r
81 @@ -683,6 +685,7 @@ output=$($NOTMUCH reply id:${gen_msg_id})\r
82  pass_if_equal "$output" "From: Notmuch Test Suite <test_suite_other@notmuchmail.org>\r
83  Subject: Re: notmuch-reply-test\r
84  To: Sender <sender@example.com>, mailinglist@notmuchmail.org\r
85 +Bcc: test_suite@notmuchmail.org\r
86  In-Reply-To: <${gen_msg_id}>\r
87  References: <${gen_msg_id}>\r
88  \r
89 @@ -703,6 +706,7 @@ output=$($NOTMUCH reply id:${gen_msg_id})\r
90  pass_if_equal "$output" "From: Notmuch Test Suite <test_suite_other@notmuchmail.org>\r
91  Subject: Re: notmuch-reply-test\r
92  To: Sender <sender@example.com>, mailinglist@notmuchmail.org\r
93 +Bcc: test_suite@notmuchmail.org\r
94  In-Reply-To: <${gen_msg_id}>\r
95  References: <${gen_msg_id}>\r
96  \r
97 @@ -723,6 +727,7 @@ output=$($NOTMUCH reply id:${gen_msg_id})\r
98  pass_if_equal "$output" "From: Notmuch Test Suite <test_suite@otherdomain.org>\r
99  Subject: Re: notmuch-reply-test\r
100  To: Sender <sender@example.com>, mailinglist@notmuchmail.org\r
101 +Bcc: test_suite@notmuchmail.org\r
102  In-Reply-To: <${gen_msg_id}>\r
103  References: <${gen_msg_id}>\r
104  \r
105 -- \r
106 1.6.6.1\r
107 \r