From owner-freebsd-questions@FreeBSD.ORG Mon Mar 31 21:49:51 2003 Return-Path: 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 BAE6F37B401 for ; Mon, 31 Mar 2003 21:49:51 -0800 (PST) Received: from hotmail.com (f100.pav2.hotmail.com [64.4.37.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6407D43FBF for ; Mon, 31 Mar 2003 21:49:51 -0800 (PST) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 31 Mar 2003 21:49:51 -0800 Received: from 203.199.109.165 by pv2fd.pav2.hotmail.msn.com with HTTP; Tue, 01 Apr 2003 05:49:50 GMT X-Originating-IP: [203.199.109.165] X-Originating-Email: [unixtools@hotmail.com] From: "Sunil Sunder Raj" To: LConrad@Go2France.com Date: Tue, 01 Apr 2003 11:19:50 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 01 Apr 2003 05:49:51.0257 (UTC) FILETIME=[831C6090:01C2F812] cc: freebsd-questions@freebsd.org Subject: Re: can't pipe to /dev/null ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2003 05:49:52 -0000 Hi, Did you try devnull: |> /dev/null Cheers SSR >From: Len Conrad >To: freebsd-questions@freebsd.org >Subject: can't pipe to /dev/null ? >Date: Wed, 19 Mar 2003 11:20:35 -0600 > >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 _________________________________________________________________