POSTCONF(1) POSTCONF(1)
[1mNAME[0m
postconf - Postfix configuration utility SYNOPSIS
[1mpostconf [22m[[1m-dhmlnv[22m] [[1m-c [4m[22mconfig_dir[24m] [[4mparameter[24m [4m...[24m]
[1mpostconf [22m[[1m-ev[22m] [[1m-c [4m[22mconfig_dir[24m] [[4mparameter=value[24m [4m...[24m]
[1mDESCRIPTION[0m
The [1mpostconf [22mcommand prints the actual value of [4mparameter[24m (all known
parameters by default) one parameter per line, changes its value, or
prints other information about the Postfix mail system.
Options:
[1m-c [4m[22mconfig_dir[0m
The [1mmain.cf [22mconfiguration file is in the named directory instead
of the default configuration directory.
[1m-d [22mPrint default parameter settings instead of actual settings.
[1m-e [22mEdit the [1mmain.cf [22mconfiguration file. The file is copied to a
temporary file then renamed into place. Parameters and values
are specified on the command line. Use quotes in order to pro-
tect shell metacharacters and whitespace.
[1m-h [22mShow parameter values only, not the ``name = '' label that nor-
mally precedes the value.
[1m-l [22mList the names of all supported mailbox locking methods. Post-
fix supports the following methods:
[1mflock [22mA kernel-based advisory locking method for local files
only. This locking method is available only on systems
with a BSD compatible library.
[1mfcntl [22mA kernel-based advisory locking method for local and
remote files.
[1mdotlock[0m
An application-level locking method. An application locks
a file named [4mfilename[24m by creating a file named [4mfile-[0m
[4mname[24m[1m.lock[22m. The application is expected to remove its own
lock file, as well as stale lock files that were left
behind after abnormal termination.
[1m-m [22mList the names of all supported lookup table types. Postfix
lookup tables are specified as [4mtype[24m[1m:[4m[22mname[24m, where [4mtype[24m is one of
the types listed below. The table [4mname[24m syntax depends on the
lookup table type.
[1mbtree [22mA sorted, balanced tree structure. This is available
only on systems with support for Berkeley DB databases.
[1mcidr [22mA table that associates values with Classless Inter-
Domain Routing (CIDR) patterns. This is described in
[1mcidr_table[22m(5).
[1mdbm [22mAn indexed file type based on hashing. This is available
only on systems with support for DBM databases.
[1menviron[0m
The UNIX process environment array. The lookup key is the
variable name. Originally implemented for testing, some-
one may find this useful someday.
[1mhash [22mAn indexed file type based on hashing. This is available
only on systems with support for Berkeley DB databases.
[1mldap [22m(read-only)
Perform lookups using the LDAP protocol. This is
described in [1mldap_table[22m(5).
[1mmysql [22m(read-only)
Perform lookups using the MYSQL protocol. This is
described in [1mmysql_table[22m(5).
[1mpcre [22m(read-only)
A lookup table based on Perl Compatible Regular Expres-
sions. The file format is described in [1mpcre_table[22m(5).
[1mpgsql [22m(read-only)
Perform lookups using the PostgreSQL protocol. This is
described in [1mpgsql_table[22m(5).
[1mproxy [22m(read-only)
A lookup table that is implemented via the Postfix [1mprox-[0m
[1mymap[22m(8) service. The table name syntax is [4mtype[24m[1m:[4m[22mname[24m.
[1mregexp [22m(read-only)
A lookup table based on regular expressions. The file
format is described in [1mregexp_table[22m(5).
[1mstatic [22m(read-only)
A table that always returns its name as lookup result.
For example, [1mstatic:foobar [22malways returns the string [1mfoo-[0m
[1mbar [22mas lookup result.
[1mtcp [22m(read-only)
Perform lookups using a simple request-reply protocol
that is described in tcp_table(5). This feature is not
included with Postfix 2.1.
[1munix [22m(read-only)
A limited way to query the UNIX authentication database.
The following tables are implemented:
[1munix:passwd.byname[0m
The table is the UNIX password database. The key
is a login name. The result is a password file
entry in passwd(5) format.
[1munix:group.byname[0m
The table is the UNIX group database. The key is a
group name. The result is a group file entry in
group(5) format.
Other table types may exist depending on how Postfix was built.
[1m-n [22mPrint parameter settings that are not left at their built-in
default value, because they are explicitly specified in main.cf.
[1m-v [22mEnable verbose logging for debugging purposes. Multiple [1m-v[0m
options make the software increasingly verbose.
[1mDIAGNOSTICS[0m
Problems are reported to the standard error stream. ENVIRONMENT
[1mMAIL_CONFIG[0m
Directory with Postfix configuration files. CONFIGURATION
PARAMETERS
The following [1mmain.cf [22mparameters are especially relevant to this
program.
The text below provides only a parameter summary. See post-
conf(5) for more details including examples.
[1mconfig_directory (see 'postconf -d' output)[0m
The default location of the Postfix main.cf and master.cf con-
figuration files. FILES /etc/postfix/main.cf, Postfix configu-
ration parameters SEE ALSO postconf(5), configuration parameters
README FILES
locate this information.
DATABASE_README, Postfix lookup table overview
LICENSE
The Secure Mailer license must be distributed with this soft-
ware. AUTHOR(S) Wietse Venema IBM T.J. Watson Research P.O. Box
704 Yorktown Heights, NY 10598, USA
POSTCONF(1)