Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 1BB6C4196F3 for ; Wed, 21 Apr 2010 14:56:29 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WVPIyMj7hkqp for ; Wed, 21 Apr 2010 14:56:28 -0700 (PDT) Received: from mail.hohndel.org (mail.hohndel.org [65.23.157.147]) by olra.theworths.org (Postfix) with ESMTP id 0D237431FC1 for ; Wed, 21 Apr 2010 14:56:28 -0700 (PDT) Received: by mail.hohndel.org (Postfix, from userid 112) id 7D4EB340FC; Wed, 21 Apr 2010 17:56:27 -0400 (EDT) Received: from x200.gr8dns.org (unknown [65.23.157.147]) by mail.hohndel.org (Postfix) with ESMTP id CBEB1340F4; Wed, 21 Apr 2010 17:56:26 -0400 (EDT) Received: by x200.gr8dns.org (Postfix, from userid 500) id 934C4C0212; Wed, 21 Apr 2010 14:56:26 -0700 (PDT) From: Dirk Hohndel To: Subject: [PATCH 2/2] fix expected test result to include Bcc lines Date: Wed, 21 Apr 2010 14:55:58 -0700 Message-Id: <1271886958-3276-3-git-send-email-hohndel@infradead.org> X-Mailer: git-send-email 1.6.6.1 In-Reply-To: <1271886958-3276-2-git-send-email-hohndel@infradead.org> References: <1271886958-3276-1-git-send-email-hohndel@infradead.org> <1271886958-3276-2-git-send-email-hohndel@infradead.org> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2010 21:56:29 -0000 this test actually tests behavior that I consider as broken. The Bcc should be to the same address as used in the From line, otherwise we are creating a potential information leak as email that is related to one email account (say, work) is copied to a different account Signed-off-by: Dirk Hohndel --- test/notmuch-test | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/test/notmuch-test b/test/notmuch-test index 855850c..d939c03 100755 --- a/test/notmuch-test +++ b/test/notmuch-test @@ -647,6 +647,7 @@ output=$($NOTMUCH reply id:${gen_msg_id}) pass_if_equal "$output" "From: Notmuch Test Suite Subject: Re: notmuch-reply-test To: Sender , mailinglist@notmuchmail.org +Bcc: test_suite@notmuchmail.org In-Reply-To: <${gen_msg_id}> References: <${gen_msg_id}> @@ -665,6 +666,7 @@ output=$($NOTMUCH reply id:${gen_msg_id}) pass_if_equal "$output" "From: Notmuch Test Suite Subject: Re: notmuch-reply-test To: Sender , mailinglist@notmuchmail.org +Bcc: test_suite@notmuchmail.org In-Reply-To: <${gen_msg_id}> References: <${gen_msg_id}> @@ -683,6 +685,7 @@ output=$($NOTMUCH reply id:${gen_msg_id}) pass_if_equal "$output" "From: Notmuch Test Suite Subject: Re: notmuch-reply-test To: Sender , mailinglist@notmuchmail.org +Bcc: test_suite@notmuchmail.org In-Reply-To: <${gen_msg_id}> References: <${gen_msg_id}> @@ -703,6 +706,7 @@ output=$($NOTMUCH reply id:${gen_msg_id}) pass_if_equal "$output" "From: Notmuch Test Suite Subject: Re: notmuch-reply-test To: Sender , mailinglist@notmuchmail.org +Bcc: test_suite@notmuchmail.org In-Reply-To: <${gen_msg_id}> References: <${gen_msg_id}> @@ -723,6 +727,7 @@ output=$($NOTMUCH reply id:${gen_msg_id}) pass_if_equal "$output" "From: Notmuch Test Suite Subject: Re: notmuch-reply-test To: Sender , mailinglist@notmuchmail.org +Bcc: test_suite@notmuchmail.org In-Reply-To: <${gen_msg_id}> References: <${gen_msg_id}> -- 1.6.6.1