From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1124 Path: news.gmane.org!not-for-mail From: "George Georgalis" Newsgroups: gmane.comp.sysutils.supervision.general Subject: problems with QMAILQUEUE and reading stdin Date: Sun, 28 May 2006 21:58:14 -0400 Message-ID: <20060529015814.GA15937@run.galis.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1148867902 781 80.91.229.2 (29 May 2006 01:58:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 May 2006 01:58:22 +0000 (UTC) Original-X-From: supervision-return-1360-gcsg-supervision=m.gmane.org@list.skarnet.org Mon May 29 03:58:18 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1FkX1N-0005Sw-Oa for gcsg-supervision@gmane.org; Mon, 29 May 2006 03:58:17 +0200 Original-Received: (qmail 10098 invoked by uid 76); 29 May 2006 01:58:38 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 10093 invoked from network); 29 May 2006 01:58:38 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1124 Archived-At: I'm dealing with a frustrating problem where my QMAILQUEUE program is not working because it cannot read stdin. 2006-05-29_00:58:31.79998 tcpsvd: info: status 3/20 2006-05-29_00:58:31.80038 tcpsvd: info: pid 10614 from 204.152.190.11 2006-05-29_00:58:31.80098 tcpsvd: info: start 10614 sta.galis.org:69.31.23.138 ::204.152.190.11:51459 ./peers.cdb/0 2006-05-29_00:58:32.04704 /var/qmail/bin/prequeue: cannot open /dev/stdin: error 9 2006-05-29_00:58:32.15075 tcpsvd: info: end 10614 exit 0 This is the line from /var/qmail/bin/prequeue that's causing the error: tmp="$pq/`/usr/pkg/bin/safecat "$pq/tmp" "$pq" < http://galis.org/ cell:646-331-2027 mailto:george@galis.org