*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> praliases (1)              


 praliases(1)                                                   praliases(1)

 NAME    [Toc]    [Back]
      praliases - print system-wide sendmail aliases

 SYNOPSIS    [Toc]    [Back]
      praliases [-C file] [-f file] [key ...]

 DESCRIPTION    [Toc]    [Back]
      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/sbin/sendmail -bi.  See

      The options are:

           -C file  Read the sendmail configuration file specified with this
                    option instead of the default configuration file.

           -f       Accesses the alias database built from file with the

                    newaliases -oA file

                    If this option is not used, praliases accesses the
                    database built from the default alias file

      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

           key: mailing list

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

    Note    [Toc]    [Back]
      praliases can be used by privileged users only.

 RETURN VALUE    [Toc]    [Back]
      The praliases utility exits with 0 on success, and >0 if an error

 DIAGNOSTICS    [Toc]    [Back]
      key: No such key
           key was not found in the alias database.

 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003

 praliases(1)                                                   praliases(1)

 EXAMPLES    [Toc]    [Back]
      $ 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

 WARNINGS    [Toc]    [Back]
      Because sendmail supports NIS aliases, some NIS key-words may appear
      in the praliases output.  These key-words, which include
      YP_LAST_MODIFIED and YP_MASTER_NAME, may be safely ignored; they
      merely indicate that sendmail is properly updating the alias database.

 AUTHOR    [Toc]    [Back]
      praliases was developed by the University of California, Berkeley.

 FILES    [Toc]    [Back]
      /etc/mail/aliases                default alias file
      /etc/mail/aliases.db             default alias database

 SEE ALSO    [Toc]    [Back]

 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
aliases OpenBSD aliases file for sendmail
aliases HP-UX aliases file for sendmail
aliases IRIX aliases file for sendmail
aliases FreeBSD aliases file for sendmail
expand_alias HP-UX recursively expands the sendmail aliases
praliases OpenBSD display system mail aliases
newalias HP-UX install new elm aliases for user or system
praliases Tru64 display system mail aliases
praliases FreeBSD display system mail aliases
praliases IRIX display system mail aliases
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service