139
139
into connection count and/or rate limits falsely.
141
141
In this preliminary implementation, a count (or rate) lim-
142
ited server can have only one remote client at a time. If
143
a server reports multiple simultaneous clients, state is
144
kept only for the last reported client.
142
ited server process can have only one remote client at a
143
time. If a server process reports multiple simultaneous
144
clients, state is kept only for the last reported client.
146
The <a href="anvil.8.html"><b>anvil</b>(8)</a> server automatically discards client request
147
information after it expires. To prevent the <a href="anvil.8.html"><b>anvil</b>(8)</a>
146
The <a href="anvil.8.html"><b>anvil</b>(8)</a> server automatically discards client request
147
information after it expires. To prevent the <a href="anvil.8.html"><b>anvil</b>(8)</a>
148
148
server from discarding client request rate information too
149
early or too late, a rate limited service should always
150
register connect/disconnect events even when it does not
149
early or too late, a rate limited service should always
150
register connect/disconnect events even when it does not
151
151
explicitly limit them.
153
153
<b>CONFIGURATION PARAMETERS</b>
154
154
On low-traffic mail systems, changes to <a href="postconf.5.html"><b>main.cf</b></a> are picked
155
155
up automatically as <a href="anvil.8.html"><b>anvil</b>(8)</a> processes run for only a lim-
156
ited amount of time. On other mail systems, use the com-
156
ited amount of time. On other mail systems, use the com-
157
157
mand "<b>postfix reload</b>" to speed up a change.
159
The text below provides only a parameter summary. See
159
The text below provides only a parameter summary. See
160
160
<a href="postconf.5.html"><b>postconf</b>(5)</a> for more details including examples.
162
162
<b><a href="postconf.5.html#anvil_rate_time_unit">anvil_rate_time_unit</a> (60s)</b>
163
The time unit over which client connection rates
163
The time unit over which client connection rates
164
164
and other rates are calculated.
166
166
<b><a href="postconf.5.html#anvil_status_update_time">anvil_status_update_time</a> (600s)</b>
167
How frequently the <a href="anvil.8.html"><b>anvil</b>(8)</a> connection and rate
167
How frequently the <a href="anvil.8.html"><b>anvil</b>(8)</a> connection and rate
168
168
limiting server logs peak usage information.
170
170
<b><a href="postconf.5.html#config_directory">config_directory</a> (see 'postconf -d' output)</b>
171
The default location of the Postfix <a href="postconf.5.html">main.cf</a> and
171
The default location of the Postfix <a href="postconf.5.html">main.cf</a> and
172
172
<a href="master.5.html">master.cf</a> configuration files.
174
174
<b><a href="postconf.5.html#daemon_timeout">daemon_timeout</a> (18000s)</b>
175
How much time a Postfix daemon process may take to
176
handle a request before it is terminated by a
175
How much time a Postfix daemon process may take to
176
handle a request before it is terminated by a
177
177
built-in watchdog timer.
179
179
<b><a href="postconf.5.html#ipc_timeout">ipc_timeout</a> (3600s)</b>
181
181
over an internal communication channel.
183
183
<b><a href="postconf.5.html#max_idle">max_idle</a> (100s)</b>
184
The maximum amount of time that an idle Postfix
185
daemon process waits for an incoming connection
184
The maximum amount of time that an idle Postfix
185
daemon process waits for an incoming connection
186
186
before terminating voluntarily.
188
188
<b><a href="postconf.5.html#max_use">max_use</a> (100)</b>
189
The maximal number of incoming connections that a
190
Postfix daemon process will service before termi-
189
The maximal number of incoming connections that a
190
Postfix daemon process will service before termi-
191
191
nating voluntarily.
193
193
<b><a href="postconf.5.html#process_id">process_id</a> (read-only)</b>
194
The process ID of a Postfix command or daemon
194
The process ID of a Postfix command or daemon
197
197
<b><a href="postconf.5.html#process_name">process_name</a> (read-only)</b>
198
The process name of a Postfix command or daemon
198
The process name of a Postfix command or daemon
201
201
<b><a href="postconf.5.html#syslog_facility">syslog_facility</a> (mail)</b>
202
202
The syslog facility of Postfix logging.
204
<b><a href="postconf.5.html#syslog_name">syslog_name</a> (postfix)</b>
205
The mail system name that is prepended to the
206
process name in syslog records, so that "smtpd"
204
<b><a href="postconf.5.html#syslog_name">syslog_name</a> (see 'postconf -d' output)</b>
205
The mail system name that is prepended to the
206
process name in syslog records, so that "smtpd"
207
207
becomes, for example, "postfix/smtpd".