From owner-freebsd-isp Wed Feb 19 16:50:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA01462 for isp-outgoing; Wed, 19 Feb 1997 16:50:09 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA01457 for ; Wed, 19 Feb 1997 16:50:06 -0800 (PST) Received: from excel.tnet.com.au (excel.tnet.com.au [203.15.94.3]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id QAA22850 for ; Wed, 19 Feb 1997 16:49:59 -0800 (PST) Received: (from slaterm@localhost) by excel.tnet.com.au (8.7.4/8.7.3) id IAA13160; Thu, 20 Feb 1997 08:53:20 +0800 Date: Thu, 20 Feb 1997 08:53:20 +0800 (WST) From: Michael Slater To: Chris Shenton cc: isp@freebsd.org Subject: Re: Script to send mail to all users? In-Reply-To: <199702191638.LAA20726@absinthe.i3inc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk How about a line in /etc/aliases that looks like this. allusers: :include:/etc/users with /etc/users being a list of all users on your system. No special script required, but it does leave users with the ability to send their own mail to allusers. Michael Slater slaterm@tnet.com.au http://www.tnet.com.au/~slaterm On Wed, 19 Feb 1997, Chris Shenton wrote: > I'm looking for a script to send mail to all users in my /etc/passwd > file; anyone got one? I'd rather plagiarize than write from scratch. :-) > > Thanks. >