Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ praliases(1) — HP-UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

newaliases(1M)

sendmail(1M)

PRALIASES(1)  —  Series 300 and 800 Only

NAME

praliases − print user-defined sendmail aliases

SYNOPSIS

praliases [ −ffile ] [ keys ]

DESCRIPTION

Praliases prints out the contents of the alias data base.  The alias data base is built by newaliases(1M) (see sendmail(1M)) and is used by sendmail(1M) to resolve system-wide, user-defined mail aliases.

If the −f option is specified, praliases accesses the alias database built from file with the command “newaliases -oA file”. Otherwise, praliases accesses the database built from the default alias file, /usr/lib/aliases.  The information displayed represents whatever aliases were defined when the alias database was last built; in other words, it is not necessarily the current contents of file or of /usr/lib/aliases. 

The second option, keys, is a list of one or more alias names which have been defined in the alias file. When the keys option is used, praliases will only print out those aliases which are referenced by the keys specified.  The output will be in the form, “key: resolved_name”.

DIAGNOSTICS

If a key is specified which does not exist in the data base, praliases informs the user that the key does not exist by issuing an error message of the form, “key: No such key”. (See the example above.)

EXAMPLES

The following example shows how to use praliases. Three keys − namely “root”, “postmaster”, and “no_user” − are specified on the command line.

$ praliases root postmaster no_user
root: jan_user
postmaster: joe_user
no_user: No such key

The output reveals that “root” is aliased to “jan_user”, “postmaster” is aliased to “joe_user”, and that the current data base does not have an alias specified for the key “no_user”. 

DEPENDENCIES

Implemented on the Series 300 and 800 only. 

AUTHOR

UCB (University of California at Berkeley)

FILES

/usr/lib/aliases master alias file (default)

/usr/lib/aliases.dir data base files

/usr/lib/aliases.pag data base files

SEE ALSO

newaliases(1M), sendmail(1M). 

Hewlett-Packard Company  —  June 06, 1988

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026