hi ya petre

if you create  the [EMAIL PROTECTED] ...than everybody
else can also send out spam to all the 700 accounts
        - you probably wanna use  a moderated mailing list
        so that only authorized people can send out emails
        to everybody

"simple" way is all relative to the way you wanna do things

- no script is needed ... for this "email everybody monster"

c ya
alvin

To extract the current list of users

        cat /etc/passwd | cut -d : -f 1 > /home/broadcaster/everybody.lst

        take out things like root, bin, nobody and other system accounts


to make the majordomo file or mailman or your fav ML manager
        /home/majordomo/Lists/everybody

        and configure it as closed and moderated
        and even passwd protected

to broadcast ... uncomment the alias... 
        vi /etc/aliases
        ...
        everybody:      :include:/home/broadcaster/everybody.lst
        ...


On Wed, 26 Dec 2001, Christoph Simon wrote:

> On Wed, 26 Dec 2001 03:55:41 -0800
> Petre Daniel <[EMAIL PROTECTED]> wrote:
> 
> > Ok,this may sound a bit twisted but i dont know very well shell scripting 
> > and i have the following problem:
> > i have around 700 accounts on my school server and i want to send email to 
> > everyone of them from time to time with news related to the school and 
> > stuff..
> > I thought i can make an account and put in its homedir .forward file all 
> > the addresses
> > I need a script that if run,checks all /home accounts and put them like 
> > [EMAIL PROTECTED] in the .forward of my email-broadcast-account.
> > Or is there another simple way?
> > Thx.
> 
> Edit a copy of the password file.
> 

Reply via email to