Re: [PATCH V3 1/2] test/smtp-dummy: add --background option and functionality
authorEthan Glasser-Camp <ethan.glasser.camp@gmail.com>
Sat, 20 Oct 2012 16:08:56 +0000 (12:08 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:49:54 +0000 (09:49 -0800)
75/f4b51f077cf071ec10d4e272623db51ad83732 [new file with mode: 0644]

diff --git a/75/f4b51f077cf071ec10d4e272623db51ad83732 b/75/f4b51f077cf071ec10d4e272623db51ad83732
new file mode 100644 (file)
index 0000000..cba4d17
--- /dev/null
@@ -0,0 +1,83 @@
+Return-Path: <ethan.glasser.camp@gmail.com>\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 E56D2431FAF\r
+       for <notmuch@notmuchmail.org>; Sat, 20 Oct 2012 09:08:59 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, 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 QlvTXBktbmWz for <notmuch@notmuchmail.org>;\r
+       Sat, 20 Oct 2012 09:08:59 -0700 (PDT)\r
+Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com\r
+       [209.85.212.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 28C5D431FAE\r
+       for <notmuch@notmuchmail.org>; Sat, 20 Oct 2012 09:08:59 -0700 (PDT)\r
+Received: by mail-vb0-f53.google.com with SMTP id fc21so1642538vbb.26\r
+       for <notmuch@notmuchmail.org>; Sat, 20 Oct 2012 09:08:58 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:cc:subject:in-reply-to:references:user-agent:date\r
+       :message-id:mime-version:content-type;\r
+       bh=xgjGitM/s954rXg7O49sEKuVy9fr9xWFDJisi301wcs=;\r
+       b=AkO9+2kAu4UdJZzZ0tEkiBd8B5LXnEouDMDxVWFSyUj2An0oS8oj1zWEDKzQ4Azs8K\r
+       tRCCwR62iNF8Z4YiN7kVQGOY60adqi3i19hzakeBlg2cJ35yYOVp7ok2ekfjcnrpTtwd\r
+       yZKXq+jC3DBD+EjY9SnanDHh3PQmuglA+f0gCi0U6CewNqDaGPaMsK4n8WvtUVJJt/2S\r
+       nbOtAofseR/juF/mug6FTW3DNvvav5nXMPmbRwft5a2eOqtkbsfCb0eo6ZUC6uwRqsNP\r
+       UWDs0bnXdQVkk4HgkTgKMEiox1suMgmuoZVhRcfUGk/XHXCkzqd/7IIekf0IYagL7UWI\r
+       jtjA==\r
+Received: by 10.52.180.5 with SMTP id dk5mr5087061vdc.45.1350749338557;\r
+       Sat, 20 Oct 2012 09:08:58 -0700 (PDT)\r
+Received: from smtp.gmail.com (p70-80.acedsl.com. [66.114.70.80])\r
+       by mx.google.com with ESMTPS id co1sm4659865vdc.10.2012.10.20.09.08.57\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Sat, 20 Oct 2012 09:08:57 -0700 (PDT)\r
+From: Ethan Glasser-Camp <ethan.glasser.camp@gmail.com>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH V3 1/2] test/smtp-dummy: add --background option and\r
+       functionality\r
+In-Reply-To: <1347978182-8771-1-git-send-email-tomi.ollila@iki.fi>\r
+References: <1347978182-8771-1-git-send-email-tomi.ollila@iki.fi>\r
+User-Agent: Notmuch/0.14+45~g6ea9330 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sat, 20 Oct 2012 12:08:56 -0400\r
+Message-ID: <87sj995dnr.fsf@betacantrips.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Cc: Tomi Ollila <too@iki.fi>\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: Sat, 20 Oct 2012 16:09:00 -0000\r
+\r
+Tomi Ollila <tomi.ollila@iki.fi> writes:\r
+\r
+> From: Tomi Ollila <too@iki.fi>\r
+>\r
+> When shell executes background process using '&' the scheduling of\r
+> that new process is arbitrary. It could be that smtp-dummy doesn't\r
+> get execution time to listen() it's server socket until some other\r
+> process attempts to connect() to it. The --background option in\r
+> smtp-dummy makes it to go background *after* it started to listen\r
+> its server socket.\r
+\r
+This looks fine to me, Michal Sojka's reviewed this version, and this\r
+patch has been bouncing around for almost a year! I'm taking off\r
+needs-review.\r
+\r
+Ethan\r