REVISED: How do I send e-mail to lots of users at a remote unix site?

Larry McVoy lm at snafu.Sun.COM
Fri Jun 1 05:59:39 AEST 1990


In article <900531093547.30e0dca3 at Csa2.LBL.Gov> thermal%solgel.hepnet at 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 at cs.wisc.edu

Then if you mail kernel at 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 at sun.com



More information about the Comp.unix.wizards mailing list