1POSTLOG(1)                  General Commands Manual                 POSTLOG(1)
2
3
4

NAME

6       postlog - Postfix-compatible logging utility
7

SYNOPSIS

9       postlog [-iv] [-c config_dir] [-p priority] [-t tag] [text...]
10

DESCRIPTION

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 (default: info)
31              Specifies the logging severity: info,  warn,  error,  fatal,  or
32              panic.  With Postfix 3.1 and later, the program will pause for 1
33              second after reporting a fatal or  panic  condition,  just  like
34              other Postfix programs.
35
36       -t tag Specifies  the  logging  tag, that is, the identifying name that
37              appears at the beginning of each logging record. A  default  tag
38              is used when none is specified.
39
40       -v     Enable  verbose  logging  for  debugging  purposes.  Multiple -v
41              options make the software increasingly verbose.
42

ENVIRONMENT

44       MAIL_CONFIG
45              Directory with the main.cf file.
46

CONFIGURATION PARAMETERS

48       The following main.cf parameters are especially relevant to  this  pro‐
49       gram.
50
51       The  text  below provides only a parameter summary. See postconf(5) for
52       more details including examples.
53
54       config_directory (see 'postconf -d' output)
55              The default location of the Postfix main.cf and  master.cf  con‐
56              figuration files.
57
58       import_environment (see 'postconf -d' output)
59              The  list  of  environment  parameters that a privileged Postfix
60              process will  import  from  a  non-Postfix  parent  process,  or
61              name=value environment overrides.
62
63       syslog_facility (mail)
64              The syslog facility of Postfix logging.
65
66       syslog_name (see 'postconf -d' output)
67              A  prefix  that  is  prepended  to  the  process  name in syslog
68              records, so that, for example, "smtpd" becomes "prefix/smtpd".
69

SEE ALSO

71       postconf(5), configuration parameters
72       syslogd(8), syslog daemon
73

LICENSE

75       The Secure Mailer license must be distributed with this software.
76

AUTHOR(S)

78       Wietse Venema
79       IBM T.J. Watson Research
80       P.O. Box 704
81       Yorktown Heights, NY 10598, USA
82
83       Wietse Venema
84       Google, Inc.
85       111 8th Avenue
86       New York, NY 10011, USA
87
88
89
90                                                                    POSTLOG(1)
Impressum