
NAME
	UULIB:Aliases

DESCRIPTION
    UULIB:Aliases is a text file containing mail aliases.  There
    is no need to run newaliases after modifying this file (there
    is no newaliases program).	This file is scanned by sendmail
    for each item of incomming and outgoing email.

    Each line in UULIB:Aliases may be either blank, have a '#'
    as the first character to indicate a comment, or begin an
    alias.  An alias consists of a name, colon, and list of
    items.  For example:

	comiclovers:	charlie, ben, lucy, james

    MULTI-LINE aliases may be specified by a comma at the end of
    each line to be continued:

	comiclovers:	charlie, ben,
			lucy, james

    Note that the last line has no comma.  Each item in an alias
    may be:

	(1) user        a local user name
	(2) \user       forces a local user name if the name is aliased
	(3) alias       another alias
	(4) path        some path
	(5) >file       append the mail item to some file
	(6) <file       load a further list of destinations from a
			file (one item per line)
	(7) |command    pipe mail item to a command with optional args
	(8) "|command args"

    For example, if I want incomming mail to be posted to my mail box
    AND automatically appended to some archive file (and note here
    that I must use '\' to prevent an alias loop):

	dillon: \dillon, >uumail:archive

    items may point to other aliases (dillon is already an alias):

	comiclovers:	dillon, fred

    mail may be piped to a command, such as an automated vacation-response
    program:

	dillon: \dillon, >uumail:archive, |vacation

    ALIAS ARE EXPANDED BY DEFAULT.  You can disable alias expansion by
    using a double colon, like this:

	huge-mailing-list:: fubar@red, d, asdflk

    Using the double colon will cause the To: field to only contain the
    name of the alias, 'huge-mailing-list'.  This is extremely useful for
    mailing lists.

COMMENTS IN THE FILE

    A comment is denoted by a '#'.  Also, any text that occurs after the
    first space in a comma delimited field will be ignored.  A line that
    begins with a '#' is ignored (as if it did not exist).  For example:

    test:   t1,
	    t2 (This is T2),
	    t3, # fubar
     #	    t4,
	    t5,

    The above alias expands to: t1, t2, t3, t5

FILES

    uulib:Aliases
    uucp:c/sendmail


