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[22m(1) command prints the actual value of [4mparame-[0m
[4mter[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 protect shell
metacharacters and whitespace.
[1m-h [22mShow parameter values only, not the ``name = ''
label that normally precedes the value.
[1m-l [22mList the names of all supported mailbox locking
methods. Postfix supports the following methods:
[1mflock [22mA kernel-based advisory locking method for
local files only. This locking method is
available 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 [4mfilename[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.
In Postfix configuration files, 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 as described in the DATA-
BASE_README document.
[1mbtree [22mA sorted, balanced tree structure. This is
available on systems with support for Berke-
ley DB databases.
[1mcdb [22mA read-optimized structure with no support
for incremental updates. This is available
on systems with support for CDB databases.
[1mcidr [22mA table that associates values with Class-
less Inter-Domain Routing (CIDR) patterns.
This is described in [1mcidr_table[22m(5).
[1mdbm [22mAn indexed file type based on hashing. This
is available 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, someone may find
this useful someday.
[1mhash [22mAn indexed file type based on hashing. This
is available 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 Reg-
ular Expressions. The file format is
described in [1mpcre_table[22m(5).
[1mpgsql [22m(read-only)
Perform lookups using the PostgreSQL proto-
col. This is described in [1mpgsql_table[22m(5).
[1mproxy [22m(read-only)
A lookup table that is implemented via the
Postfix [1mproxymap[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_ta-[0m
[1mble[22m(5).
[1msdbm [22mAn indexed file type based on hashing. This
is available on systems with support for
SDBM databases.
[1mstatic [22m(read-only)
A table that always returns its name as
lookup result. For example, [1mstatic:foobar[0m
always returns the string [1mfoobar [22mas lookup
result.
[1mtcp [22m(read-only)
Perform lookups using a simple request-reply
protocol that is described in [1mtcp_table[22m(5).
This feature is not included with Postfix
2.2.
[1munix [22m(read-only)
A limited way to query the UNIX authentica-
tion database. The following tables are
implemented:
[1munix:passwd.byname[0m
The table is the UNIX password data-
base. The key is a login name. The
result is a password file entry in
[1mpasswd[22m(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 [1mgroup[22m(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. Mul-
tiple [1m-v [22moptions make the software increasingly
verbose.
[1mDIAGNOSTICS[0m
Problems are reported to the standard error stream. ENVI-
RONMENT
[1mMAIL_CONFIG[0m
Directory with Postfix configuration files. CON-
FIGURATION PARAMETERS
The following [1mmain.cf [22mparameters are especially
relevant to this program.
The text below provides only a parameter summary.
See [1mpostconf[22m(5) for more details including exam-
ples.
[1mconfig_directory (see 'postconf -d' output)[0m
The default location of the Postfix main.cf and
master.cf configuration files. FILES /etc/post-
fix/main.cf, Postfix configuration parameters SEE
ALSO postconf(5), configuration parameters README
FILES
Use "[1mpostconf readme_directory[22m" or "[1mpostconf[0m
[1mhtml_directory[22m" 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)