ggr@pierce.UUCP (Guy Riddle) (08/12/85)
) 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