SUMMARY: how to handle LONG alias list?

From: Dan Kirkpatrick <dkirk_at_suhep.phy.syr.edu>
Date: Fri, 15 Oct 1999 16:53:08 -0400

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_at_phy.syr.edu
Computer Systems Manager
Department of Physics
Syracuse University, Syracuse, NY
http://www.phy.syr.edu/~dkirk Fax: (315) 443-9103
--------------------------------------------------------------------------
Received on Mon Oct 18 1999 - 09:58:32 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT