1 Return-Path: <amdragon@mit.edu>
\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 40D0E431FAF
\r
6 for <notmuch@notmuchmail.org>; Thu, 30 Aug 2012 20:49:57 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\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 JPWziMe5ZhWj for <notmuch@notmuchmail.org>;
\r
16 Thu, 30 Aug 2012 20:49:55 -0700 (PDT)
\r
17 Received: from dmz-mailsec-scanner-8.mit.edu (DMZ-MAILSEC-SCANNER-8.MIT.EDU
\r
19 by olra.theworths.org (Postfix) with ESMTP id 1161D431FAE
\r
20 for <notmuch@notmuchmail.org>; Thu, 30 Aug 2012 20:49:55 -0700 (PDT)
\r
21 X-AuditID: 12074425-b7f9b6d0000008c4-a7-5040346211fd
\r
22 Received: from mailhub-auth-3.mit.edu ( [18.9.21.43])
\r
23 by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP
\r
24 id 11.34.02244.26430405; Thu, 30 Aug 2012 23:49:54 -0400 (EDT)
\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
\r
26 by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id q7V3nrMR008226;
\r
27 Thu, 30 Aug 2012 23:49:53 -0400
\r
28 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])
\r
29 (authenticated bits=0)
\r
30 (User authenticated as amdragon@ATHENA.MIT.EDU)
\r
31 by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q7V3noYs002655
\r
32 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
33 Thu, 30 Aug 2012 23:49:51 -0400 (EDT)
\r
34 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77)
\r
35 (envelope-from <amdragon@mit.edu>)
\r
36 id 1T7IEw-00085W-Ax; Thu, 30 Aug 2012 23:49:50 -0400
\r
37 Date: Thu, 30 Aug 2012 23:49:50 -0400
\r
38 From: Austin Clements <amdragon@MIT.EDU>
\r
39 To: david@tethera.net
\r
40 Subject: Re: [PATCH] test: canonicalize content-type in "Sending a message
\r
42 Message-ID: <20120831034934.GG11179@mit.edu>
\r
43 References: <20120830013653.GF11179@mit.edu>
\r
44 <1346369074-8366-1-git-send-email-david@tethera.net>
\r
46 Content-Type: text/plain; charset=us-ascii
\r
47 Content-Disposition: inline
\r
48 In-Reply-To: <1346369074-8366-1-git-send-email-david@tethera.net>
\r
49 User-Agent: Mutt/1.5.21 (2010-09-15)
\r
50 X-Brightmail-Tracker:
\r
51 H4sIAAAAAAAAA+NgFprBKsWRmVeSWpSXmKPExsUixCmqrZtk4hBgsOqonMXGZT+ZLW60djNa
\r
52 XL85k9mB2eNX21xmj2erbjF7bDn0njmAOYrLJiU1J7MstUjfLoErY/2ifraCtdwVG74/Z29g
\r
53 bOXsYuTgkBAwkbh4CsjkBDLFJC7cW88GYgsJ7GOUuNOv3MXIBWRvYJRY8egEE4Rzkkli9dNG
\r
54 VghnCaPEuv+d7CAtLAKqEqcuLWEBsdkENCS27V/OCGKLCIhKnN40iRXEZhawl1g0exJYvbBA
\r
55 rETX10dg9bwCOhKLvq1iglidLHFvxR9WiLigxMmZT1ggerUkbvx7yQRyNbOAtMTyfxwgYU4B
\r
56 R4nXM+eAlYsKqEhMObmNbQKj0Cwk3bOQdM9C6F7AyLyKUTYlt0o3NzEzpzg1Wbc4OTEvL7VI
\r
57 10IvN7NELzWldBMjKNDZXVR3ME44pHSIUYCDUYmHt3KNfYAQa2JZcWXuIUZJDiYlUd4Xhg4B
\r
58 QnxJ+SmVGYnFGfFFpTmpxYcYJTiYlUR4Z30GKudNSaysSi3Kh0lJc7AoifPeSLnpLySQnliS
\r
59 mp2aWpBaBJOV4eBQkuDtMwIaKliUmp5akZaZU4KQZuLgBBnOAzRcxBiohre4IDG3ODMdIn+K
\r
60 UZfj+tezdxmFWPLy81KlxHnXgAwSACnKKM2DmwNLUK8YxYHeEub9AFLFA0xucJNeAS1hAloi
\r
61 pwHyQXFJIkJKqoFxamL8vRKdOyqvGHbo1DTVLVt0JsjZ6vzCXm6tRC/FFSET7giHanyIW8TI
\r
62 XfD3/Q6uXnlffsHrmYmy917GvCgRmBFUnJ71U3pbtknVzfLJfg8MHBWf6K4V4XI5s41L5fb6
\r
63 f6d/ah3tl3wbrziP4bsL14ljUQdTc6SUnmyxNZhal5LOxXzHJ0uJpTgj0VCLuag4EQDDXxGC
\r
65 Cc: notmuch@notmuchmail.org, David Bremner <bremner@debian.org>
\r
66 X-BeenThere: notmuch@notmuchmail.org
\r
67 X-Mailman-Version: 2.1.13
\r
69 List-Id: "Use and development of the notmuch mail system."
\r
70 <notmuch.notmuchmail.org>
\r
71 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
72 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
73 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
74 List-Post: <mailto:notmuch@notmuchmail.org>
\r
75 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
76 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
77 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
78 X-List-Received-Date: Fri, 31 Aug 2012 03:49:57 -0000
\r
82 Quoth david@tethera.net on Aug 30 at 8:24 pm:
\r
83 > From: David Bremner <bremner@debian.org>
\r
85 > The version of message.el in emacs24 omits the charset=us-ascii,
\r
86 > causing the current version of this test to fail. With this patch, we
\r
87 > accept either option. According to RFC 2046, they are semantically
\r
91 > as discussed on IRC, the $ is not quite as nice as \b, but it is
\r
92 > POSIX.2, at least according to "man 7 regex"
\r
94 > test/emacs | 5 +++--
\r
95 > 1 file changed, 3 insertions(+), 2 deletions(-)
\r
97 > diff --git a/test/emacs b/test/emacs
\r
98 > index afe35ba..5d118b6 100755
\r
101 > @@ -169,7 +169,8 @@ emacs_deliver_message \
\r
102 > (insert "To: user@example.com\n")'
\r
104 > -e s',^User-Agent: Notmuch/.* Emacs/.*,User-Agent: Notmuch/XXX Emacs/XXX,' \
\r
105 > - -e s',^Message-ID: <.*>$,Message-ID: <XXX>,' < sent_message >OUTPUT
\r
106 > + -e s',^Message-ID: <.*>$,Message-ID: <XXX>,' \
\r
107 > + -e s',^\(Content-Type: text/plain\); charset=us-ascii$,\1,' < sent_message >OUTPUT
\r
108 > cat <<EOF >EXPECTED
\r
109 > From: Notmuch Test Suite <test_suite@notmuchmail.org>
\r
110 > To: user@example.com
\r
111 > @@ -178,7 +179,7 @@ Date: 01 Jan 2000 12:00:00 -0000
\r
112 > User-Agent: Notmuch/XXX Emacs/XXX
\r
113 > Message-ID: <XXX>
\r
114 > MIME-Version: 1.0
\r
115 > -Content-Type: text/plain; charset=us-ascii
\r
116 > +Content-Type: text/plain
\r
118 > This is a test that messages are sent via SMTP
\r