Re: [PATCH] test: attempt to send QUIT to smtp-dummy in case mail send failed
authorPieter Praet <pieter@praet.org>
Wed, 16 Nov 2011 12:44:19 +0000 (13:44 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:40:13 +0000 (09:40 -0800)
6f/20f897b2026db8a95645635c8056a2357b7bef [new file with mode: 0644]

diff --git a/6f/20f897b2026db8a95645635c8056a2357b7bef b/6f/20f897b2026db8a95645635c8056a2357b7bef
new file mode 100644 (file)
index 0000000..c75a55a
--- /dev/null
@@ -0,0 +1,93 @@
+Return-Path: <pieter@praet.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 03E27429E21\r
+       for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 04:45:23 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 9FBAl3ruyaNy for <notmuch@notmuchmail.org>;\r
+       Wed, 16 Nov 2011 04:45:21 -0800 (PST)\r
+Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com\r
+       [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 1AC49431FB6\r
+       for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 04:45:20 -0800 (PST)\r
+Received: by wyg19 with SMTP id 19so451645wyg.26\r
+       for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 04:45:19 -0800 (PST)\r
+Received: by 10.227.208.77 with SMTP id gb13mr23479746wbb.4.1321447519658;\r
+       Wed, 16 Nov 2011 04:45:19 -0800 (PST)\r
+Received: from localhost ([109.131.148.49])\r
+       by mx.google.com with ESMTPS id ff6sm32647717wbb.10.2011.11.16.04.45.17\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Wed, 16 Nov 2011 04:45:18 -0800 (PST)\r
+From: Pieter Praet <pieter@praet.org>\r
+To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
+       Tomi Ollila <tomi.ollila@iki.fi>, Austin Clements <amdragon@MIT.EDU>\r
+Subject: Re: [PATCH] test: attempt to send QUIT to smtp-dummy in case mail\r
+       send failed\r
+In-Reply-To: <87mxc1dofb.fsf@servo.finestructure.net>\r
+References: <yf6ipmr7dki.fsf@taco2.nixu.fi> <20111112024941.GY2658@mit.edu>\r
+       <yf662iplkv3.fsf@taco2.nixu.fi> <20111112154128.GB2658@mit.edu>\r
+       <yf639dthwx1.fsf@taco2.nixu.fi>\r
+       <87mxc1dofb.fsf@servo.finestructure.net>\r
+User-Agent: Notmuch/0.9+76~g2fd88e6 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+Date: Wed, 16 Nov 2011 13:44:19 +0100\r
+Message-ID: <877h30fd98.fsf@praet.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 16 Nov 2011 12:45:23 -0000\r
+\r
+On Sat, 12 Nov 2011 13:24:40 -0800, Jameson Graef Rollins <jrollins@finestructure.net> wrote:\r
+> On Sat, 12 Nov 2011 23:07:38 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
+> > 1) add line \r
+> >    { echo QUIT > /dev/tcp/127.0.0.1/25025; } 2>/dev/null\r
+> \r
+> I have no directory called "/dev/tcp" on my system.\r
+> \r
+\r
+You shouldn't.  See (info "(bash)Redirections") :\r
+\r
+  #+begin_quote\r
+    Bash handles several filenames specially when they are used in\r
+    redirections, as described in the following table:\r
+\r
+    [...]\r
+    `/dev/tcp/HOST/PORT'\r
+         If HOST is a valid hostname or Internet address, and PORT is an\r
+         integer port number or service name, Bash attempts to open a TCP\r
+         connection to the corresponding socket.\r
+    [...]\r
+  #+end_quote\r
+\r
+> jamie.\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r
+\r
+\r
+Peace\r
+\r
+-- \r
+Pieter\r