From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079079016165.tru64-unix-managers.marc@archive.invalid> From: Dan Kirkpatrick Date: Fri, 15 Oct 1999 20:53:08 +0000 To: tru64-unix-managers Subject: SUMMARY: how to handle LONG alias list? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079079016165 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 --------------------------------------------------------------------------