Seth Woolley's Man Viewer

Manual for postconf - man 1 postconf

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

POSTCONF(1)                                                        POSTCONF(1)



NAME
       postconf(1,5) - Postfix configuration utility

SYNOPSIS
       postconf(1,5) [-dhmlnv] [-c config_dir] [parameter ...]

       postconf(1,5) [-ev] [-c config_dir] [parameter=value ...]

DESCRIPTION
       The postconf(1,5)(1) command prints the actual value of parameter (all known
       parameters by default) one parameter per line, changes  its  value,  or
       prints other information about the Postfix mail(1,8) system.

       Options:

       -c config_dir
              The main.cf configuration file(1,n) is in(1,8) the named(5,8) directory instead
              of the default configuration directory.

       -d     Print default parameter settings instead of actual settings.

       -e     Edit the main.cf configuration file. The file(1,n)  is  copied  to  a
              temporary  file(1,n)  then  renamed into place. Parameters and values
              are specified on the command line. Use quotes in(1,8) order  to  pro-
              tect shell metacharacters and whitespace.

       -h     Show  parameter values only, not the ``name = '' label that nor-
              mally precedes the value.

       -l     List the names of all supported mailbox locking methods.   Post-
              fix supports the following methods:

              flock(1,2)  A  kernel-based  advisory  locking method for local files
                     only.  This locking method is available on systems with a
                     BSD compatible library.

              fcntl  A  kernel-based  advisory  locking  method  for local and
                     remote files.

              dotlock
                     An application-level locking method. An application locks
                     a  file(1,n)  named(5,8)  filename  by  creating a file(1,n) named(5,8) file-
                     name.lock.  The application is expected to remove its own
                     lock  file(1,n),  as  well  as stale lock files that were left
                     behind after abnormal termination.

       -m     List the names of all supported lookup table types.  In  Postfix
              configuration  files,  lookup tables are specified as type:name,
              where type is one of the types listed below. The table name syn-
              tax  depends  on the lookup table type as described in(1,8) the DATA-
              BASE_README document.

              btree  A sorted, balanced tree structure.  This is available  on
                     systems with support for Berkeley DB databases.

              cdb    A  read-optimized structure with no support for incremen-
                     tal updates.  This is available on systems  with  support
                     for CDB databases.

              cidr   A  table  that  associates  values  with Classless Inter-
                     Domain Routing (CIDR)  patterns.  This  is  described  in(1,8)
                     cidr_table(5).

              dbm    An indexed file(1,n) type based on hashing.  This is available
                     on systems with support for DBM databases.

              environ
                     The UNIX process environment array. The lookup key is the
                     variable  name. Originally implemented for testing, some-
                     one may find this useful someday.

              hash   An indexed file(1,n) type based on hashing.  This is available
                     on systems with support for Berkeley DB databases.

              ldap(3,5,n) (read-only)
                     Perform   lookups   using  the  LDAP  protocol.  This  is
                     described in(1,8) ldap_table(5).

              mysql (read-only)
                     Perform  lookups  using  the  MYSQL  protocol.  This   is
                     described in(1,8) mysql_table(5).

              pcre (read-only)
                     A  lookup  table based on Perl Compatible Regular Expres-
                     sions. The file(1,n) format is described in(1,8) pcre_table(5).

              pgsql (read-only)
                     Perform lookups using the PostgreSQL  protocol.  This  is
                     described in(1,8) pgsql_table(5).

              proxy (read-only)
                     A  lookup table that is implemented via the Postfix prox-
                     ymap(8) service. The table name syntax is type:name.

              regexp(3,n) (read-only)
                     A lookup table based on  regular  expressions.  The  file(1,n)
                     format is described in(1,8) regexp_table(5).

              sdbm   An indexed file(1,n) type based on hashing.  This is available
                     on systems with support for SDBM databases.

              static (read-only)
                     A table that always returns its name  as  lookup  result.
                     For example, static:foobar always returns the string(3,n) foo-
                     bar as lookup result.

              tcp (read-only)
                     Perform lookups using  a  simple  request-reply  protocol
                     that  is  described in(1,8) tcp_table(5).  This feature is not
                     included with Postfix 2.2.

              unix (read-only)
                     A limited way to query the UNIX authentication  database.
                     The following tables are implemented:

                     unix:passwd.byname
                            The  table  is the UNIX password database. The key
                            is a login(1,3,5) name.  The result is  a  password  file(1,n)
                            entry in(1,8) passwd(1,5)(5) format.

                     unix:group.byname
                            The table is the UNIX group database. The key is a
                            group name.  The result is a group file(1,n)  entry  in(1,8)
                            group(5) format.

       Other table types may exist depending on how Postfix was built.

       -n     Print  parameter  settings  that  are not left at their built-in
              default value, because they are explicitly specified in(1,8) main.cf.

       -v     Enable  verbose  logging  for  debugging  purposes.  Multiple -v
              options make the software increasingly verbose.

DIAGNOSTICS
       Problems are reported to the standard error(8,n) stream.

ENVIRONMENT
       MAIL_CONFIG
              Directory with Postfix configuration files.

CONFIGURATION PARAMETERS
       The following main.cf parameters are especially relevant to  this  pro-
       gram.

       The  text  below provides only a parameter summary. See postconf(1,5)(5) for
       more details including examples.

       config_directory (see 'postconf(1,5) -d' output)
              The default location of the Postfix main.cf and  master.cf  con-
              figuration files.

FILES
       /etc/postfix/main.cf, Postfix configuration parameters

SEE ALSO
       postconf(1,5)(5), configuration parameters

README FILES
       Use  "postconf(1,5) readme_directory" or "postconf(1,5) html_directory" to locate
       this information.
       DATABASE_README, Postfix lookup table overview

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



                                                                   POSTCONF(1)

References for this manual (incoming links)