From owner-freebsd-current Wed Mar 25 20:51:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA12691 for freebsd-current-outgoing; Wed, 25 Mar 1998 20:51:55 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from manetheren.ural.ru (manetheren.ural.ru [195.64.192.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA12683 for ; Wed, 25 Mar 1998 20:51:49 -0800 (PST) (envelope-from adm@ural.ru) Received: from ural.ru (alr.ural.ru [195.64.192.82]) by manetheren.ural.ru (8.8.8/eTn) with ESMTP id JAA13526 for ; Thu, 26 Mar 1998 09:48:18 GMT Message-ID: <3519DDDE.DDC5B287@ural.ru> Date: Thu, 26 Mar 1998 09:47:26 +0500 From: "Igor V. Lebedev" Organization: UralWES X-Mailer: Mozilla 4.03 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-current@FreeBSD.ORG Subject: Mail to pipe. Question.... Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello! I try forward mail to pipe: In /etc/aliases write: msgs: "| cat >> /var/tmp/log " All work fine. Question: How I can change user UID , who invoke script ( cat >> /var/tmp/log). Now all work from user bin.... ( sendmail ) Igor. P.S. In SCO Unix : msgs: "root | cat >> /var/tmp/log " - this script invoke from root UID To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message