103 lines
5.7 KiB
HTML
103 lines
5.7 KiB
HTML
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
"https://www.w3.org/TR/html4/loose.dtd">
|
|
<html> <head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<link rel='stylesheet' type='text/css' href='postfix-doc.css'>
|
|
<title> Postfix manual - postlogd(8) </title>
|
|
</head> <body> <pre>
|
|
POSTLOGD(8) POSTLOGD(8)
|
|
|
|
<b><a name="name">NAME</a></b>
|
|
postlogd - Postfix internal log server
|
|
|
|
<b><a name="synopsis">SYNOPSIS</a></b>
|
|
<b>postlogd</b> [generic Postfix daemon options]
|
|
|
|
<b><a name="description">DESCRIPTION</a></b>
|
|
This program logs events on behalf of Postfix programs when the <a href="postconf.5.html#maillog_file">mail</a>-
|
|
<a href="postconf.5.html#maillog_file">log_file</a> configuration parameter specifies a non-empty value.
|
|
|
|
<b><a name="bugs">BUGS</a></b>
|
|
Non-daemon Postfix programs don't know that they should log to the
|
|
internal logging service before they have processed command-line
|
|
options and <a href="postconf.5.html">main.cf</a> parameters. These programs still log earlier events
|
|
to the syslog service.
|
|
|
|
If Postfix is down, the non-daemon programs <a href="postfix.1.html"><b>postfix</b>(1)</a>, <a href="postsuper.1.html"><b>postsuper</b>(1)</a>,
|
|
<a href="postmulti.1.html"><b>postmulti</b>(1)</a>, and <a href="postlog.1.html"><b>postlog</b>(1)</a>, will log directly to <b>$<a href="postconf.5.html#maillog_file">maillog_file</a></b>. These
|
|
programs expect to run with root privileges, for example during Postfix
|
|
start-up, reload, or shutdown.
|
|
|
|
Other non-daemon Postfix programs will never write directly to <b>$<a href="postconf.5.html#maillog_file">mail</a>-</b>
|
|
<b><a href="postconf.5.html#maillog_file">log_file</a></b> (also, logging to stdout would interfere with the operation of
|
|
some of these programs). These programs can log to <a href="postlogd.8.html"><b>postlogd</b>(8)</a> if they
|
|
are run by the super-user, or if their executable file has set-gid per-
|
|
mission. Do not set this permission on programs other than <a href="postdrop.1.html"><b>postdrop</b>(1)</a>,
|
|
<a href="postqueue.1.html"><b>postqueue</b>(1)</a> and (Postfix >= 3.7) <a href="postlog.1.html"><b>postlog</b>(1)</a>.
|
|
|
|
<b><a name="configuration_parameters">CONFIGURATION PARAMETERS</a></b>
|
|
Changes to <a href="postconf.5.html"><b>main.cf</b></a> are not picked up automatically, because <a href="postlogd.8.html"><b>postlogd</b>(8)</a>
|
|
terminates only after reaching the <b><a href="postconf.5.html#max_idle">max_idle</a></b> time limit. Use the com-
|
|
mand "<b>postfix reload</b>" to speed up a change.
|
|
|
|
The text below provides only a parameter summary. See <a href="postconf.5.html"><b>postconf</b>(5)</a> for
|
|
more details including examples.
|
|
|
|
<b><a href="postconf.5.html#config_directory">config_directory</a> (see 'postconf -d' output)</b>
|
|
The default location of the Postfix <a href="postconf.5.html">main.cf</a> and <a href="master.5.html">master.cf</a> con-
|
|
figuration files.
|
|
|
|
<b><a href="postconf.5.html#maillog_file">maillog_file</a> (empty)</b>
|
|
The name of an optional logfile that is written by the Postfix
|
|
<a href="postlogd.8.html"><b>postlogd</b>(8)</a> service.
|
|
|
|
<b><a href="postconf.5.html#process_id">process_id</a> (read-only)</b>
|
|
The process ID of a Postfix command or daemon process.
|
|
|
|
<b><a href="postconf.5.html#process_name">process_name</a> (read-only)</b>
|
|
The process name of a Postfix command or daemon process.
|
|
|
|
<b><a href="postconf.5.html#syslog_name">syslog_name</a> (see 'postconf -d' output)</b>
|
|
A prefix that is prepended to the process name in syslog
|
|
records, so that, for example, "smtpd" becomes "prefix/smtpd".
|
|
|
|
<b><a href="postconf.5.html#service_name">service_name</a> (read-only)</b>
|
|
The <a href="master.5.html">master.cf</a> service name of a Postfix daemon process.
|
|
|
|
<b><a href="postconf.5.html#postlogd_watchdog_timeout">postlogd_watchdog_timeout</a> (10s)</b>
|
|
How much time a <a href="postlogd.8.html"><b>postlogd</b>(8)</a> process may take to process a
|
|
request before it is terminated by a built-in watchdog timer.
|
|
|
|
Available in Postfix 3.9 and later:
|
|
|
|
<b><a href="postconf.5.html#maillog_file_permissions">maillog_file_permissions</a> (0600)</b>
|
|
The file access permissions that will be set when the file
|
|
$<a href="postconf.5.html#maillog_file">maillog_file</a> is created for the first time, or when the file is
|
|
created after an existing file is rotated.
|
|
|
|
<b><a name="see_also">SEE ALSO</a></b>
|
|
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
|
syslogd(8), system logging
|
|
|
|
<b><a name="readme_files">README_FILES</a></b>
|
|
Use "<b>postconf <a href="postconf.5.html#readme_directory">readme_directory</a></b>" or "<b>postconf <a href="postconf.5.html#html_directory">html_directory</a></b>" to locate
|
|
this information.
|
|
<a href="MAILLOG_README.html">MAILLOG_README</a>, Postfix logging to file or stdout
|
|
|
|
<b><a name="license">LICENSE</a></b>
|
|
The Secure Mailer license must be distributed with this software.
|
|
|
|
<b><a name="history">HISTORY</a></b>
|
|
This service was introduced with Postfix version 3.4.
|
|
|
|
<b>AUTHOR(S)</b>
|
|
Wietse Venema
|
|
Google, Inc.
|
|
111 8th Avenue
|
|
New York, NY 10011, USA
|
|
|
|
Wietse Venema
|
|
porcupine.org
|
|
|
|
POSTLOGD(8)
|
|
</pre> </body> </html>
|