1POSTLOG(1) General Commands Manual POSTLOG(1)
2
3
4
6 postlog - Postfix-compatible logging utility
7
9 postlog [-iv] [-c config_dir] [-p priority] [-t tag] [text...]
10
12 The postlog(1) command implements a Postfix-compatible logging inter‐
13 face for use in, for example, shell scripts.
14
15 By default, postlog(1) logs the text given on the command line as one
16 record. If no text is specified on the command line, postlog(1) reads
17 from standard input and logs each input line as one record.
18
19 Logging is sent to syslogd(8); when the standard error stream is con‐
20 nected to a terminal, logging is sent there as well.
21
22 The following options are implemented:
23
24 -c config_dir
25 Read the main.cf configuration file in the named directory
26 instead of the default configuration directory.
27
28 -i Include the process ID in the logging tag.
29
30 -p priority
31 Specifies the logging severity: info (default), warn, error,
32 fatal, or panic.
33
34 -t tag Specifies the logging tag, that is, the identifying name that
35 appears at the beginning of each logging record. A default tag
36 is used when none is specified.
37
38 -v Enable verbose logging for debugging purposes. Multiple -v
39 options make the software increasingly verbose.
40
42 MAIL_CONFIG
43 Directory with the main.cf file.
44
46 The following main.cf parameters are especially relevant to this pro‐
47 gram.
48
49 The text below provides only a parameter summary. See postconf(5) for
50 more details including examples.
51
52 config_directory (see 'postconf -d' output)
53 The default location of the Postfix main.cf and master.cf con‐
54 figuration files.
55
56 syslog_facility (mail)
57 The syslog facility of Postfix logging.
58
59 syslog_name (see 'postconf -d' output)
60 The mail system name that is prepended to the process name in
61 syslog records, so that "smtpd" becomes, for example, "post‐
62 fix/smtpd".
63
65 postconf(5), configuration parameters
66 syslogd(8), syslog daemon
67
69 The Secure Mailer license must be distributed with this software.
70
72 Wietse Venema
73 IBM T.J. Watson Research
74 P.O. Box 704
75 Yorktown Heights, NY 10598, USA
76
77
78
79 POSTLOG(1)