tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Dan Kirkpatrick <dkirk () suhep ! phy ! syr ! edu>
To: tru64-unix-managers
Subject: SUMMARY: how to handle LONG alias list?
Date: Fri, 15 Oct 1999 20:53:08 +0000	[thread overview]
Message-ID: <96079079016165.tru64-unix-managers.marc@archive.invalid> (raw)

Thanks for all the quick replies...

summary is to use a mailing list manager, such as majordomo or LISTSERV.
Our university runs one so perhaps I'll see if it's easily maintainable by 
them, or I'll go with a local flexible suggestion...
    Put them into a file, one address per line, and then set up an alias in 
/etc/aliases like this:
    class:  :include:/usr/users/teacher/class.list
    Run newaliases and away you (should be able to) go..

or also brute force, but requires user to run on unix, instead of his 
windoze client...script:
for person in `cat userlist`
do
     mail $person < the_mail_txt_in_a_txt_file
done

Thanks!
--Dan

 >I've got a user who wants to create a long alias to be able to send emails
 >to (~300 students).
 >
 >What's a descent method other than brute force?
 >
 >I thought of aliases, but it seems to have a problem when the alias is more
 >than 255 characters or so.   Brute force would suggest making shorter
 >aliases m1: userA, userB, userC  m2: userX, userY, userZ... etc
 >then concatenate those shorter aliases into a main alias
 >101students: m1, m2, m3, etc.
 >
 >any better method?
 >
 >Thanks,
 >Dan

--------------------------------------------------------------------------
Dan Kirkpatrick                        dkirk@phy.syr.edu
Computer Systems Manager
Department of Physics
Syracuse University, Syracuse, NY
http://www.phy.syr.edu/~dkirk   Fax: (315) 443-9103
--------------------------------------------------------------------------

                 reply	other threads:[~1999-10-15 20:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox