Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Cactus

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 180 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

postalias



SYNOPSIS

       postalias [-Nfinorvw] [-c config_dir] [-d key] [-q key]
       [file_type:]file_name ...


DESCRIPTION

       The postalias command creates or queries one or more Post­
       fix alias databases, or updates an existing one. The input
       and output file formats are expected to be compatible with
       Sendmail  version  8,  and are expected to be suitable for
       the use as NIS alias maps.

       If the result files do not exist they will be created with
       the  same  group  and other read permissions as the source
       file.

       While a database update is in progress, signal delivery is
       postponed,  and  an exclusive, advisory, lock is placed on
       the entire database, in order to avoid surprises in  spec­
       tator programs.

       Options:

       -N     Include  the terminating null character that termi­
              nates lookup keys and values. By  default,  Postfix
              does whatever is the default for the host operating
              system.

       -c config_dir
              Read the main.cf configuration file  in  the  named
              directory  instead  of  the  default  configuration
              directory.

       -d key Search the specified maps for key  and  remove  one
              entry  per  map.   The exit status is zero when the
              requested information was found.

              If a key value of - is specified, the program reads
              key values from the standard input stream. The exit
              status is zero when at least one of  the  requested
              keys was found.

       -f     Do not fold the lookup key to lower case while cre­
              ating or querying a map.

       -i     Incremental mode. Read entries from standard  input
              and  do  not  truncate  an  existing  database.  By
              default, postalias creates a new database from  the
              entries in file_name.

       -n     Don't  include  the terminating null character that
              terminates lookup  keys  and  values.  By  default,
              Postfix  does  whatever is the default for the host
              writes one line of key: value output for  each  key
              that  was  found.  The  exit status is zero when at
              least one of the requested keys was found.

       -r     When updating a table, do not warn about  duplicate
              entries; silently replace them.

       -v     Enable verbose logging for debugging purposes. Mul­
              tiple -v options  make  the  software  increasingly
              verbose.

       -w     When  updating a table, do not warn about duplicate
              entries; silently ignore them.

       Arguments:

       file_type
              The type of database to be produced.

              btree  The  output   is   a   btree   file,   named
                     file_name.db.   This  is  available  only on
                     systems with support for db databases.

              dbm    The output  consists  of  two  files,  named
                     file_name.pag  and  file_name.dir.   This is
                     available only on systems with  support  for
                     dbm databases.

              hash   The   output   is   a   hashed  file,  named
                     file_name.db.  This  is  available  only  on
                     systems with support for db databases.

              Use  the command postconf -m to find out what types
              of database your Postfix installation can  support.

              When  no  file_type is specified, the software uses
              the    database    type    specified    via     the
              default_database_type configuration parameter.  The
              default value for this  parameter  depends  on  the
              host environment.

       file_name
              The  name  of  the  alias database source file when
              creating a database.


DIAGNOSTICS

       Problems are logged to the standard error stream. No  out­
       put means no problems were detected. Duplicate entries are
       skipped and are flagged with a warning.

       postalias terminates with zero exit status in case of suc­
       cess (including successful postalias -q lookup) and termi­
       default_database_type
              Default database type. On many  UNIX  systems,  the
              default type is either dbm or hash.

       berkeley_db_create_buffer_size
              Amount  of buffer memory to be used when creating a
              Berkeley DB hash or btree lookup table.

       berkeley_db_read_buffer_size
              Amount of buffer memory to be used when  reading  a
              Berkeley DB hash or btree lookup table.


STANDARDS

       RFC 822 (ARPA Internet Text Messages)


SEE ALSO

       aliases(5) format of alias database input file.
       sendmail(1) mail posting and compatibility interface.


LICENSE

       The  Secure  Mailer  license must be distributed with this
       software.


AUTHOR(S)

       Wietse Venema
       IBM T.J. Watson Research
       P.O. Box 704
       Yorktown Heights, NY 10598, USA

                                                     POSTALIAS(1)
  




Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can get all the latest Site and Linux news by checking out our news page.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.16 Seconds