Program for maintaining mailing lists (sendmail).
Guy Riddle
ggr at pierce.UUCP
Tue Aug 13 01:31:39 AEST 1985
) 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 at csnet-relay.ARPA
ihnp4!ggr
More information about the Comp.unix
mailing list