1 Return-Path: <schnouki@schnouki.net>
\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 EBFA5431FB6
\r
6 for <notmuch@notmuchmail.org>; Mon, 3 Oct 2011 09:48:51 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"
\r
12 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5
\r
13 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1]
\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 p4h9T+QH1bAe for <notmuch@notmuchmail.org>;
\r
18 Mon, 3 Oct 2011 09:48:51 -0700 (PDT)
\r
19 Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])
\r
20 by olra.theworths.org (Postfix) with ESMTP id 401FA429E34
\r
21 for <notmuch@notmuchmail.org>; Mon, 3 Oct 2011 09:48:46 -0700 (PDT)
\r
22 Received: from localhost.localdomain (thor.loria.fr [152.81.12.250])
\r
23 by ks3536.kimsufi.com (Postfix) with ESMTPSA id 8B6FA6A06B0;
\r
24 Mon, 3 Oct 2011 18:48:45 +0200 (CEST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;
\r
26 s=key-schnouki; t=1317660525;
\r
27 bh=snOq5YedbwRT7Qj/tcqHUpit5tlczVajrW8TDDhiooo=;
\r
28 h=From:To:Subject:Date:Message-Id:In-Reply-To:References:
\r
29 In-Reply-To:References;
\r
30 b=G0j/XQmgSiirE7SIa9zc3c1lyAXPKSPo3Q+VXV2O8oNgzZKS9T1qEl6MLfPK1iRbc
\r
31 UOZwUrBD79WAcW/yR1Dv51VaNl7Y31aFazSmw5RXJMEuW7ErfXyaU7Hnh8rM1QEzls
\r
32 IK4X8tiWgdYeHGddTR4e1kM68bTNS2rnyqyjhnkQ=
\r
33 From: Thomas Jost <schnouki@schnouki.net>
\r
34 To: notmuch@notmuchmail.org
\r
35 Subject: [PATCH 13/13] test: make smtp-dummy work with Emacs 24
\r
36 Date: Mon, 3 Oct 2011 18:47:27 +0200
\r
37 Message-Id: <1317660447-27520-14-git-send-email-schnouki@schnouki.net>
\r
38 X-Mailer: git-send-email 1.7.6.4
\r
39 In-Reply-To: <1317660447-27520-1-git-send-email-schnouki@schnouki.net>
\r
40 References: <1317660447-27520-1-git-send-email-schnouki@schnouki.net>
\r
41 In-Reply-To: <871uuuywtt.fsf@convex-new.cs.unb.ca>
\r
42 References: <871uuuywtt.fsf@convex-new.cs.unb.ca>
\r
43 X-BeenThere: notmuch@notmuchmail.org
\r
44 X-Mailman-Version: 2.1.13
\r
46 List-Id: "Use and development of the notmuch mail system."
\r
47 <notmuch.notmuchmail.org>
\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
51 List-Post: <mailto:notmuch@notmuchmail.org>
\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
55 X-List-Received-Date: Mon, 03 Oct 2011 16:48:52 -0000
\r
57 In Emacs 24, a space is expected after a SMTP response code. If we don't respect
\r
58 that, smtpmail-send-it will wait forever.
\r
60 test/smtp-dummy.c | 2 +-
\r
61 1 files changed, 1 insertions(+), 1 deletions(-)
\r
63 diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c
\r
64 index 9da8202..021af11 100644
\r
65 --- a/test/smtp-dummy.c
\r
66 +++ b/test/smtp-dummy.c
\r
67 @@ -71,7 +71,7 @@ static int
\r
68 process_command (FILE *peer, FILE *output, const char *command)
\r
70 if (STRNCMP_LITERAL (command, "EHLO ") == 0) {
\r
71 - fprintf (peer, "502\r\n");
\r
72 + fprintf (peer, "502 not implemented\r\n");
\r
74 } else if (STRNCMP_LITERAL (command, "HELO ") == 0) {
\r
75 fprintf (peer, "250 localhost\r\n");
\r