From owner-freebsd-questions Sun Aug 30 13:23:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA29834 for freebsd-questions-outgoing; Sun, 30 Aug 1998 13:23:11 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from rachel.paradise.net.nz (rachel.paradise.net.nz [203.96.152.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA29772; Sun, 30 Aug 1998 13:22:49 -0700 (PDT) (envelope-from shane.cole@staff.paradise.net.nz) Received: from shane (shane.paradise.net.nz [203.96.152.6]) by rachel.paradise.net.nz (8.8.7/8.8.7) with SMTP id IAA21704; Mon, 31 Aug 1998 08:22:56 +1200 (NZST) (envelope-from shane.cole@staff.paradise.net.nz) From: "Shane Cole" To: "Jason McKay" , Cc: Subject: RE: Sending Mail to All Users Date: Mon, 31 Aug 1998 08:23:02 +1200 Message-ID: <00a501bdd453$fd06d760$069860cb@shane.paradise.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 In-Reply-To: Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What I do is add all.users: :include:/etc/ftpchroot to my /etc/aliases file and then mail to that (commenting it out once it has finished). With the way I run my system, /etc/ftpchroot has a copy of all the usernames that are in /etc/passwd though. Regards Shane > -----Original Message----- > From: owner-freebsd-isp@FreeBSD.ORG > [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of Jason McKay > Sent: Sunday, 30 August 1998 21:51 > To: questions@FreeBSD.ORG > Cc: isp@FreeBSD.ORG > Subject: Sending Mail to All Users > > > > Hello, > > I urgently need to send a message to all users on my FreeBSD system. I > understand there is a way using aliases, and a script that makes up a > listing of all users. > > How do I setup this up? > > Thanking in advance, > Jason McKay. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message