[comp.unix.wizards] REVISED: How do I send e-mail to lots of users at a remote unix site?

thermal%solgel.hepnet@CSA2.LBL.GOV (05/31/90)

I apologize for my first posting, which did not quite exactly
say what I wanted it to say.  Below is the revised posting,
which I believe now says what I wanted it to say.  Read carefully.
Thanks for your reply.

******************************************************************

I would like to be able to send a mail message to all the users on
ANOTHER unix machine via Internet.  Of course, I could do it the long
and tedious way, that is, by sending a mail message to each user, one
at a time.  Is there a quicker way? (it seems to me there could be two
or three different ways, such as setting up a mailing list file on my
machine which will automatically mail the message to all on the list,
or sending one message to the remote machine and somehow instruct it
to distribute the message to all the users).  Obviously, I'm not a
unix guru or wizard, so make your explanation understandable, please.

Thanks, Dana

lm@snafu.Sun.COM (Larry McVoy) (06/01/90)

In article <900531093547.30e0dca3@Csa2.LBL.Gov> thermal%solgel.hepnet@CSA2.LBL.GOV writes:
>I would like to be able to send a mail message to all the users on
>ANOTHER unix machine via Internet.  Of course, I could do it the long
>and tedious way, that is, by sending a mail message to each user, one
>at a time.  Is there a quicker way? (it seems to me there could be two
>or three different ways, such as setting up a mailing list file on my
>machine which will automatically mail the message to all on the list,
>or sending one message to the remote machine and somehow instruct it
>to distribute the message to all the users).  Obviously, I'm not a
>unix guru or wizard, so make your explanation understandable, please.

You'll have to get cooperation from the remote machine.  Let's assume that
you are mailing to a remote machine that runs sendmail.  Then you can
get the remote admin to edit /etc/aliases and add a line like:

kernel: lm,auspex!guy,shannon,limes,glenn,dave@cs.wisc.edu

Then if you mail kernel@remote.host.whatever the message will be exploded
on remote.host.whatever instead of the local host.  

You may need to run "newaliases" which massages the alias file into a 
database that sendmail uses.

If you are sending to a remote host that doesn't run sendmail or any other 
mailer that provides an aliasing service then I don't know what you can
do.

This message is more appropriate for comp.unix.questions so I've directed 
follow ups there.
---
Larry McVoy, Sun Microsystems     (415) 336-7627       ...!sun!lm or lm@sun.com