13 \fBmaster\fR [\fB-Ddtv\fR] [\fB-c \fIconfig_dir\fR] [\fB-e \fIexit_time\fR]
17 The \fBmaster\fR(8) daemon is the resident process that runs Postfix
18 daemons on demand: daemons to send or receive messages via the
19 network, daemons to deliver mail locally, etc. These daemons are
20 created on demand up to a configurable maximum number per service.
22 Postfix daemons terminate voluntarily, either after being idle for
23 a configurable amount of time, or after having serviced a
24 configurable number of requests. Exceptions to this rule are the
25 resident queue manager, address verification server, and the TLS
26 session cache and pseudo-random number server.
28 The behavior of the \fBmaster\fR(8) daemon is controlled by the
29 \fBmaster.cf\fR configuration file, as described in \fBmaster\fR(5).
32 .IP "\fB-c \fIconfig_dir\fR"
33 Read the \fBmain.cf\fR and \fBmaster.cf\fR configuration files in
34 the named directory instead of the default configuration directory.
35 This also overrides the configuration files for other Postfix
38 After initialization, run a debugger on the master process. The
39 debugging command is specified with the \fBdebugger_command\fR in
40 the \fBmain.cf\fR global configuration file.
42 Do not redirect stdin, stdout or stderr to /dev/null, and
43 do not discard the controlling terminal. This must be used
45 .IP "\fB-e \fIexit_time\fR"
46 Terminate the master process after \fIexit_time\fR seconds. Child
47 processes terminate at their convenience.
49 Test mode. Return a zero exit status when the \fBmaster.pid\fR lock
50 file does not exist or when that file is not locked. This is evidence
51 that the \fBmaster\fR(8) daemon is not running.
53 Enable verbose logging for debugging purposes. This option
54 is passed on to child processes. Multiple \fB-v\fR options
55 make the software increasingly verbose.
59 Upon receipt of a \fBHUP\fR signal (e.g., after "\fBpostfix reload\fR"),
60 the master process re-reads its configuration files. If a service has
61 been removed from the \fBmaster.cf\fR file, its running processes
62 are terminated immediately.
63 Otherwise, running processes are allowed to terminate as soon
64 as is convenient, so that changes in configuration settings
65 affect only new service requests.
67 Upon receipt of a \fBTERM\fR signal (e.g., after "\fBpostfix abort\fR"),
68 the master process passes the signal on to its child processes and
70 This is useful for an emergency shutdown. Normally one would
71 terminate only the master ("\fBpostfix stop\fR") and allow running
72 processes to finish what they are doing.
76 Problems are reported to \fBsyslogd\fR(8).
83 After initialization, start a debugger as specified with the
84 \fBdebugger_command\fR configuration parameter in the \fBmain.cf\fR
87 Directory with Postfix configuration files.
88 .SH "CONFIGURATION PARAMETERS"
93 Unlike most Postfix daemon processes, the \fBmaster\fR(8) server does
94 not automatically pick up changes to \fBmain.cf\fR. Changes
95 to \fBmaster.cf\fR are never picked up automatically.
96 Use the "\fBpostfix reload\fR" command after a configuration change.
97 .SH "RESOURCE AND RATE CONTROLS"
102 .IP "\fBdefault_process_limit (100)\fR"
103 The default maximal number of Postfix child processes that provide
105 .IP "\fBmax_idle (100s)\fR"
106 The maximum amount of time that an idle Postfix daemon process waits
107 for an incoming connection before terminating voluntarily.
108 .IP "\fBmax_use (100)\fR"
109 The maximal number of incoming connections that a Postfix daemon
110 process will service before terminating voluntarily.
111 .IP "\fBservice_throttle_time (60s)\fR"
112 How long the Postfix \fBmaster\fR(8) waits before forking a server that
113 appears to be malfunctioning.
115 Available in Postfix version 2.6 and later:
116 .IP "\fBmaster_service_disable (empty)\fR"
117 Selectively disable \fBmaster\fR(8) listener ports by service type
118 or by service name and type.
119 .SH "MISCELLANEOUS CONTROLS"
124 .IP "\fBconfig_directory (see 'postconf -d' output)\fR"
125 The default location of the Postfix main.cf and master.cf
127 .IP "\fBdaemon_directory (see 'postconf -d' output)\fR"
128 The directory with Postfix support programs and daemon programs.
129 .IP "\fBdebugger_command (empty)\fR"
130 The external command to execute when a Postfix daemon program is
131 invoked with the -D option.
132 .IP "\fBinet_interfaces (all)\fR"
133 The network interface addresses that this mail system receives
135 .IP "\fBinet_protocols (ipv4)\fR"
136 The Internet protocols Postfix will attempt to use when making
137 or accepting connections.
138 .IP "\fBimport_environment (see 'postconf -d' output)\fR"
139 The list of environment parameters that a Postfix process will
140 import from a non-Postfix parent process.
141 .IP "\fBmail_owner (postfix)\fR"
142 The UNIX system account that owns the Postfix queue and most Postfix
144 .IP "\fBprocess_id (read-only)\fR"
145 The process ID of a Postfix command or daemon process.
146 .IP "\fBprocess_name (read-only)\fR"
147 The process name of a Postfix command or daemon process.
148 .IP "\fBqueue_directory (see 'postconf -d' output)\fR"
149 The location of the Postfix top-level queue directory.
150 .IP "\fBsyslog_facility (mail)\fR"
151 The syslog facility of Postfix logging.
152 .IP "\fBsyslog_name (see 'postconf -d' output)\fR"
153 The mail system name that is prepended to the process name in syslog
154 records, so that "smtpd" becomes, for example, "postfix/smtpd".
160 To expand the directory names below into their actual values,
161 use the command "\fBpostconf config_directory\fR" etc.
165 $config_directory/main.cf, global configuration file.
166 $config_directory/master.cf, master server configuration file.
167 $queue_directory/pid/master.pid, master lock file.
168 $data_directory/master.lock, master lock file.
172 qmgr(8), queue manager
173 verify(8), address verification
174 master(5), master.cf configuration file syntax
175 postconf(5), main.cf configuration parameter syntax
176 syslogd(8), system logging
182 The Secure Mailer license must be distributed with this software.
187 IBM T.J. Watson Research
189 Yorktown Heights, NY 10598, USA