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