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 <[email protected]>
---
 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 <[email protected]>
 Subject: Re: notmuch-reply-test
 To: Sender <[email protected]>, [email protected]
+Bcc: [email protected]
 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 
<[email protected]>
 Subject: Re: notmuch-reply-test
 To: Sender <[email protected]>, [email protected]
+Bcc: [email protected]
 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 
<[email protected]>
 Subject: Re: notmuch-reply-test
 To: Sender <[email protected]>, [email protected]
+Bcc: [email protected]
 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 
<[email protected]>
 Subject: Re: notmuch-reply-test
 To: Sender <[email protected]>, [email protected]
+Bcc: [email protected]
 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 <[email protected]>
 Subject: Re: notmuch-reply-test
 To: Sender <[email protected]>, [email protected]
+Bcc: [email protected]
 In-Reply-To: <${gen_msg_id}>
 References: <${gen_msg_id}>
 
-- 
1.6.6.1

_______________________________________________
notmuch mailing list
[email protected]
http://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to