File: postlogd.8.html

package info (click to toggle)
postfix 3.10.6-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,968 kB
  • sloc: ansic: 134,721; makefile: 17,984; sh: 6,966; perl: 2,796; python: 1,448; awk: 158
file content (103 lines) | stat: -rw-r--r-- 5,830 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!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 &gt;= 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>