Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 1998 18:44:54 -0400 (EDT)
From:      Troy Settle <rewt@i-Plus.net>
To:        Akhil Gupta <akhil@nandomail.com>
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
Message-ID:  <Pine.BSF.3.96.980713184150.28516C-100000@Radford.i-Plus.net>
In-Reply-To: <19980713203656.19410.qmail@m2.findmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <st@i-Plus.net>
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980713184150.28516C-100000>