Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!elroy!spl1!quintro!kts
From: kts@quintro.UUCP (Kenneth T. Smelcer)
Newsgroups: comp.sys.apollo
Subject: Re: UNIX Mail/Sendmail and Distribution lists
Message-ID: <180@quintro.UUCP>
Date: 9 Aug 88 06:04:12 GMT
References: <8808021844.AA00672@loki.edsg>
Reply-To: kts@quintro.UUCP (Kenneth T. Smelcer)
Organization: none
Lines: 23

In article <8808021844.AA00672@loki.edsg> mcdonald%loki.edsg@UMIX.CC.UMICH.EDU (louis mcdonald) writes:
>I have a question about using distribution lists in
>UNIX mail (mail/sendmail).
>
>I have a list of about 20 people (addresses) in a file.
>
>I would like to send mail to all of them via this file.
>

Mail has a built-in command called 'alias' which will do this.  You set it
up by creating a '.mailrc' file in your home directory, and add a line
like the following:

alias users john mary susan roy

This will assign the user names the identifier 'users', so all you have
to do is 'mail users'.  The user names can be any valid mail path, including
bang paths or internet style addresses.  For more info, type 'man mail'.

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ken Smelcer     Quintron Corporation - Quincy, Il.
UUCP:           {elroy,lll-winken,laidbak}!spl1!quintro!kts
 or             uunet!wucs1!wuibc!quintro!kts