From owner-freebsd-isp Mon Jul 13 15:45:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA26050 for freebsd-isp-outgoing; Mon, 13 Jul 1998 15:45:14 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from Radford.i-Plus.net (root@Radford.i-Plus.net [208.24.67.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA26044 for ; Mon, 13 Jul 1998 15:45:11 -0700 (PDT) (envelope-from rewt@i-Plus.net) Received: from Radford.i-Plus.net (rewt@Radford.i-Plus.net [208.24.67.15]) by Radford.i-Plus.net (8.8.8/8.8.5) with SMTP id SAA05989; Mon, 13 Jul 1998 18:44:54 -0400 (EDT) Date: Mon, 13 Jul 1998 18:44:54 -0400 (EDT) From: Troy Settle To: Akhil Gupta cc: freebsd-isp@FreeBSD.ORG Subject: Re: How can I send E-Mail to all the users on a particular server of an ISP/Acces Provider In-Reply-To: <19980713203656.19410.qmail@m2.findmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org If everyone has their own directory under /home, you could do what I do: 1. create a text file with the message you want to send. 2. cd /home 3. for x in * ; do cat ~/mail.txt |mail $j ; done Works well enough, though I'm sure you could come up more efficient methods. I actually use a script that will extract usernames from /etc/passwd, then mail out the file to each username. On 13 Jul 1998, Akhil Gupta wrote: > I am looking for help on the above subject. > > I have an internet access/e-mail account like myname@nda.vsnl.net.in > > I want to send email to all the users like me from within the server or from a different server. > > Can any body please help me and tell me a way/program by which I can send mail to all users? > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > -- Troy Settle Network Administrator, iPlus Internet Services http://www.i-Plus.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message