Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ praliases(1) — HP-UX 9.05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sendmail(1M)

praliases(1)

NAME

praliases − print system-wide sendmail aliases

SYNOPSIS

praliases [-f file] [key ...]

DESCRIPTION

praliases prints out the contents of the alias data base used by sendmail to resolve system-wide mail aliases.  The alias data base is built with the command newaliases or /usr/lib/sendmail -bi.  See sendmail(1M).

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. 

Note that praliases accesses the database, not the alias file itself.  If the alias file has changed since the alias database was last built, naturally the output of praliases cannot match the contents of the alias file. 

Each key argument, if any, is looked up in the alias database.  praliases prints out the aliases to which each key expands in the form:

key: mailing list

where mailing list can be a comma-separated list of addresses to which the key resolves. 

DIAGNOSTICS

key: No such key
key was not found in the alias database. 

EXAMPLES

$ 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 there is no alias for the key no_user. 

AUTHOR

praliases was developed by the University of California, Berkeley. 

FILES

/usr/lib/aliases default alias file

/usr/lib/aliases.dir default alias database

/usr/lib/aliases.pag

SEE ALSO

sendmail(1M). 

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

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