Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ praliases(1) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

newaliases(1M)

sendmail(1M)

PRALIASES(1)  —  Series 300 Only

NAME

praliases − print user-defined sendmail aliases

SYNOPSIS

praliases [ −ffile ] [ keys ]

HP-UX COMPATIBILITY

Level: HP-UX/NONSTANDARD

Origin: UCB

Remarks: Implemented on the Series 300 only. 

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.

Praliases uses file, as specified by the −f option, to access the alias data base.  If the −f option is not specified, praliases uses the default alias file, /usr/lib/aliases, to access the alias data base.  The information displayed represents whatever aliases were defined when the alias data base was last built; i.e., it is not necessarily the current contents of file or /usr/lib/aliases. 

The second option, keys, is a list or 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”.

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”. 

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.)

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  —  December 25, 1986

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