From owner-freebsd-questions Mon Feb 2 17:21:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA24564 for questions-outgoing; Mon, 2 Feb 1998 17:21:19 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from phoenix.welearn.com.au (suebla.lnk.telstra.net [139.130.44.81]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA24485 for ; Mon, 2 Feb 1998 17:20:57 -0800 (PST) (envelope-from sue@phoenix.welearn.com.au) Received: (from sue@localhost) by phoenix.welearn.com.au (8.8.5/8.8.5) id MAA05642; Tue, 3 Feb 1998 12:20:50 +1100 (EST) Message-ID: <19980203122046.54922@welearn.com.au> Date: Tue, 3 Feb 1998 12:20:46 +1100 From: Sue Blake To: freebsd-questions@FreeBSD.ORG Subject: Re: they have mail References: <19980203085841.36073@welearn.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e In-Reply-To: <19980203085841.36073@welearn.com.au>; from Sue Blake on Tue, Feb 03, 1998 at 08:58:42AM +1100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" On Tue, Feb 03, 1998 at 08:58:42AM +1100, Sue Blake wrote: > I want to be notified (preferably by email) when mail arrives for a couple > of users on my system. This will be a rare event which needs a reasonably > quick response. > > I do not want to receive a copy of their mail, just know about it so I can > advise them. Thanks to all those who offered suggestions. They all made sense, and they all nearly worked. The most spectacular attempt so far (user:user,"|/path/scriptname" in /etc/aliases) resulted in errors of such magnitude (trying to forward to user called "|/path/scriptname") that root was sent a copy of the whole disaster... and root mail gets forwarded to me anyway so it was a kind of success :-) Well I'd better study up on this forward and script business some more, then maybe I'll see a way to delete the private message body before it gets sent to me. Meanwhile, bash seems able to check for other people's mail and that might be good enough. Still fiddling with that one... -- Regards, -*Sue*-