expand_alias — recursively expands the sendmail aliases
is a shell script that recursively expands the
Through use of
telnet host 25
command, each alias is recursively expanded into its
destination(s). Indentation is used to show each level of recursion.
Because of the recursive use of
If the local
cannot directly connect to a remote system,
due to a firewall configuration,
will not be able to succeed. If the local
is to transparently connect across the firewall,
will be able to contact sendmail daemons outside the firewall,
allowing the alias to be more fully expanded. (For example, some local
telnet clients use a
located on the firewall to permit the
client to transparently connect to Internet hosts.
If the local default
in such a manner,
will use that
functionality to more fully expand an alias.)
defaults to 10. After
no further expansion is attempted.
is specified, only the terminal aliases will be displayed.
is similar to
except that if a terminal line has a pipe, its
printing is suppressed and the previous level of expansion is printed
was developed by the Hewlett-Packard Company.