From owner-freebsd-questions Wed Mar 19 9:20:51 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC66E37B401 for ; Wed, 19 Mar 2003 09:20:49 -0800 (PST) Received: from mgw1-out.MEIway.com (mgw1.meiway.com [212.73.210.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5701143FBD for ; Wed, 19 Mar 2003 09:20:48 -0800 (PST) (envelope-from LConrad@Go2France.com) Received: from VirusGate.MEIway.com (virus-gate.meiway.com [212.73.210.91]) by mgw1-out.MEIway.com (Postfix Relay Hub) with ESMTP id 0C7FEEF902; Wed, 19 Mar 2003 18:05:07 +0100 (CET) Received: from localhost (localhost.meiway.com [127.0.0.1]) by VirusGate.MEIway.com (Postfix) with SMTP id 1B9055D009; Wed, 19 Mar 2003 18:24:30 +0100 (CET) Received: from mail.Go2France.com (ms1.meiway.com [212.73.210.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id C869F5D008; Wed, 19 Mar 2003 18:24:29 +0100 (CET) Received: from tx0-go2france-c.Go2France.com [24.242.169.51] by mail.Go2France.com with ESMTP (SMTPD32-6.06) id AB604C600FC; Wed, 19 Mar 2003 18:39:44 +0100 Message-Id: <5.2.0.9.0.20030319111153.02415060@mail.go2france.com> X-Sender: LConrad@Go2France.com@mail.go2france.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Wed, 19 Mar 2003 11:20:35 -0600 To: freebsd-questions@freebsd.org From: Len Conrad Subject: can't pipe to /dev/null ? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in /etc/aliases: devnull: |/dev/null and: # ll /dev/null crw-rw-rw- 1 root wheel 2, 2 Mar 19 11:13 /dev/null but: Mar 19 10:55:08 img10 postfix/local[41744]: 671235621: to=, relay=local, delay=1, status=bounced (Command died with status 1: "/dev/null") ... is fixed with: devnull: |cat>/dev/null .... which gives: Mar 19 11:13:51 img10 postfix/local[43231]: E5C4A5623: to=, relay=local, delay=0, status=sent (delivered to command: cat) Mar 19 11:13:51 img10 postfix/local[43231]: E5C4A5623: to=, relay=local, delay=0, status=sent (delivered to file: /dev/null) Piping into /dev/null has worked in the past, wondering why the cat command has become necessary? Len _____________________________________________________________________ MenAndMice.com/DNS-training: Austin; Chicago; San Jose; Toronto IMGate.MEIway.com: anti-spam gateway, 95+% effective, free To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message