Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 ggr 02/21/84; site pierce.UUCP
Path: utzoo!linus!philabs!cmcl2!seismo!columbia!topaz!pierce!ggr
From: ggr@pierce.UUCP (Guy Riddle)
Newsgroups: net.unix
Subject: Re: Program for maintaining mailing lists (sendmail).
Message-ID: <202@pierce.UUCP>
Date: Mon, 12-Aug-85 11:31:39 EDT
Article-I.D.: pierce.202
Posted: Mon Aug 12 11:31:39 1985
Date-Received: Wed, 14-Aug-85 01:40:15 EDT
References: <355@dcl-cs.UUCP>
Organization: AT&T Bell Laboratories, Piscataway
Lines: 30

) I wanted to maintain large mailing lists using "sendmail".  I only knew of two
) ways of doing this:
) 	- set up a login name with a ".forward" file
) 	OR
) 	- set up aliases in "/usr/lib/aliases"
) 
) I didn't want to set up login names and "/usr/lib/aliases" would have become
) too unwieldy, so I wrote another program to do it and this follows.  If there
) is another way to do it, or there is a better program about, please mail me.
) 
) Installation:
) Compile the following program and put in "/usr/bin/maillistfile".  Create a
) file containing all the mailboxes in the list, one per line.  Put an entry of
) the following form in "/usr/lib/aliases":
) 
) fire-lovers:"|maillistfile /usr/gurus/elton/fire-lovers".

This program really isn't necessary -- sendmail can do this itself
via the ":include:" mechanism.

Simply stick in /usr/lib/aliases

	fire-lovers: :include:/usr/gurus/elton/fire-lovers

and sendmail will use the *contents* of /usr/gurus/elton/fire-lovers
at the time of expanding the file-lovers address as a list of aliases.

		=== Guy Riddle == AT&T Bell Laboratories, New Jersey ===
				ggr.btl@csnet-relay.ARPA
					ihnp4!ggr