mirror of
https://github.com/vdukhovni/postfix
synced 2025-08-22 09:57:34 +00:00
postfix-3.4-20190209
This commit is contained in:
parent
eb73f242bb
commit
67965c8458
79
postfix/.indent.pro
vendored
79
postfix/.indent.pro
vendored
@ -20,6 +20,7 @@
|
||||
-TBH_TABLE
|
||||
-TBINATTR
|
||||
-TBINATTR_INFO
|
||||
-Tbind_props
|
||||
-TBINHASH
|
||||
-TBINHASH_INFO
|
||||
-TBIO
|
||||
@ -36,9 +37,10 @@
|
||||
-TBOUNCE_TIME_PARAMETER
|
||||
-TCFG_PARSER
|
||||
-TCIDR_MATCH
|
||||
-Tcipher_probe_t
|
||||
-TCLEANUP_REGION
|
||||
-TCLEANUP_STATE
|
||||
-TCLEANUP_STAT_DETAIL
|
||||
-TCLEANUP_STATE
|
||||
-TCLIENT_LIST
|
||||
-TCLNT_STREAM
|
||||
-TCONFIG_BOOL_FN_TABLE
|
||||
@ -62,9 +64,11 @@
|
||||
-TCRYPTO_EX_DATA
|
||||
-TCTABLE
|
||||
-TCTABLE_ENTRY
|
||||
-Td2i_X509_t
|
||||
-Tdane_digest
|
||||
-TDB_COMMON_CTX
|
||||
-TDELIVERED_HDR_INFO
|
||||
-TDELIVER_ATTR
|
||||
-TDELIVERED_HDR_INFO
|
||||
-TDELIVER_REQUEST
|
||||
-TDELTA_TIME
|
||||
-TDICT
|
||||
@ -145,7 +149,9 @@
|
||||
-TEVP_PKEY
|
||||
-TEXPAND_ATTR
|
||||
-TFILE
|
||||
-Tfilter_ctx
|
||||
-TFORWARD_INFO
|
||||
-Tgeneral_name_stack_t
|
||||
-THBC_ACTION_CALL_BACKS
|
||||
-THBC_CALL_BACKS
|
||||
-THBC_CHECKS
|
||||
@ -157,17 +163,18 @@
|
||||
-THOST
|
||||
-THTABLE
|
||||
-THTABLE_INFO
|
||||
-Tiana_digest
|
||||
-TINET_ADDR_LIST
|
||||
-TINET_PROTO_INFO
|
||||
-TINSTANCE
|
||||
-TINST_SELECTION
|
||||
-TINT32_TYPE
|
||||
-TINTV
|
||||
-TINT_TABLE
|
||||
-TINTV
|
||||
-TJMP_BUF_WRAPPER
|
||||
-TLDAP
|
||||
-TLDAPMessage
|
||||
-TLDAP_CONN
|
||||
-TLDAPMessage
|
||||
-TLIB_DP
|
||||
-TLIB_FN
|
||||
-TLMTP_ATTR
|
||||
@ -182,13 +189,13 @@
|
||||
-TMAC_EXP_OP_INFO
|
||||
-TMAC_HEAD
|
||||
-TMAC_PARSE
|
||||
-TMAI_HOSTADDR_STR
|
||||
-TMAI_HOSTNAME_STR
|
||||
-TMAIL_ADDR_MAP_TEST
|
||||
-TMAIL_PRINT
|
||||
-TMAIL_SCAN
|
||||
-TMAIL_STREAM
|
||||
-TMAIL_VERSION
|
||||
-TMAI_HOSTADDR_STR
|
||||
-TMAI_HOSTNAME_STR
|
||||
-TMAI_SERVNAME_STR
|
||||
-TMAI_SERVPORT_STR
|
||||
-TMAPS
|
||||
@ -206,9 +213,9 @@
|
||||
-TMDB_val
|
||||
-TMILTER
|
||||
-TMILTER8
|
||||
-TMILTERS
|
||||
-TMILTER_MACROS
|
||||
-TMILTER_MSG_CONTEXT
|
||||
-TMILTERS
|
||||
-TMIME_ENCODING
|
||||
-TMIME_INFO
|
||||
-TMIME_STACK
|
||||
@ -233,6 +240,7 @@
|
||||
-TNAME_CODE
|
||||
-TNAME_MASK
|
||||
-TNBBIO
|
||||
-Toff_t
|
||||
-TOPTIONS
|
||||
-TPCF_DBMS_INFO
|
||||
-TPCF_EVAL_CTX
|
||||
@ -246,6 +254,7 @@
|
||||
-TPCF_SERVICE_PATTERN
|
||||
-TPCF_STRING_NV
|
||||
-TPEER_NAME
|
||||
-Tpem_load_state_t
|
||||
-TPGSQL_NAME
|
||||
-TPICKUP_INFO
|
||||
-TPIPE_ATTR
|
||||
@ -253,9 +262,9 @@
|
||||
-TPIPE_STATE
|
||||
-TPLMYSQL
|
||||
-TPLPGSQL
|
||||
-TPOSTMAP_KEY_STATE
|
||||
-TPOST_MAIL_FCLOSE_STATE
|
||||
-TPOST_MAIL_STATE
|
||||
-TPOSTMAP_KEY_STATE
|
||||
-TPRIVATE_STR_TABLE
|
||||
-TPSC_CALL_BACK_ENTRY
|
||||
-TPSC_CLIENT_INFO
|
||||
@ -283,11 +292,15 @@
|
||||
-TRECIPIENT
|
||||
-TRECIPIENT_LIST
|
||||
-TREC_TYPE_NAME
|
||||
-Tregex_t
|
||||
-Tregmatch_t
|
||||
-TRES_CONTEXT
|
||||
-TRESOLVE_REPLY
|
||||
-TRESPONSE
|
||||
-TREST_TABLE
|
||||
-TRES_CONTEXT
|
||||
-TRWR_CONTEXT
|
||||
-Tsasl_conn_t
|
||||
-Tsasl_secret_t
|
||||
-TSCACHE
|
||||
-TSCACHE_CLNT
|
||||
-TSCACHE_MULTI
|
||||
@ -302,12 +315,18 @@
|
||||
-TSCAN_INFO
|
||||
-TSCAN_OBJ
|
||||
-TSESSION
|
||||
-Tsfsistat
|
||||
-TSHARED_PATH
|
||||
-Tsigset_t
|
||||
-TSINGLE_SERVER
|
||||
-TSINK_COMMAND
|
||||
-TSINK_STATE
|
||||
-Tsize_t
|
||||
-TSLMDB
|
||||
-TSMFICTX
|
||||
-TSM_STATE
|
||||
-TSMTP_ADDR
|
||||
-TSMTP_CMD
|
||||
-TSMTPD_CMD
|
||||
-TSMTPD_DEFER
|
||||
-TSMTPD_ENDPT_LOOKUP_INFO
|
||||
@ -319,8 +338,6 @@
|
||||
-TSMTPD_STATE
|
||||
-TSMTPD_TOKEN
|
||||
-TSMTPD_XFORWARD_ATTR
|
||||
-TSMTP_ADDR
|
||||
-TSMTP_CMD
|
||||
-TSMTP_ITERATOR
|
||||
-TSMTP_RESP
|
||||
-TSMTP_SASL_AUTH_CACHE
|
||||
@ -329,26 +346,33 @@
|
||||
-TSMTP_TLS_POLICY
|
||||
-TSMTP_TLS_SESS
|
||||
-TSMTP_TLS_SITE_POLICY
|
||||
-TSM_STATE
|
||||
-Tsockaddr
|
||||
-TSOCKADDR_SIZE
|
||||
-TSPAWN_ATTR
|
||||
-Tssize_t
|
||||
-TSSL
|
||||
-Tssl_cipher_stack_t
|
||||
-Tssl_comp_stack_t
|
||||
-TSSL_CTX
|
||||
-TSSL_SESSION
|
||||
-TSTATE
|
||||
-TSTRING_LIST
|
||||
-TSTRING_TABLE
|
||||
-TSYS_EXITS_DETAIL
|
||||
-TTLSMGR_SCACHE
|
||||
-TTLSP_STATE
|
||||
-Ttime_t
|
||||
-Ttlsa_filter
|
||||
-TTLS_APPL_STATE
|
||||
-TTLS_CERTS
|
||||
-TTLS_CLIENT_INIT_PROPS
|
||||
-TTLS_CLIENT_START_PROPS
|
||||
-TTLScontext_t
|
||||
-TTLS_DANE
|
||||
-TTLSMGR_SCACHE
|
||||
-TTLS_CLIENT_PARAMS
|
||||
-TTLS_PKEYS
|
||||
-TTLS_PRNG_SEED_INFO
|
||||
-TTLS_PRNG_SRC
|
||||
-TTLSP_STATE
|
||||
-TTLS_ROLE
|
||||
-TTLS_SCACHE
|
||||
-TTLS_SCACHE_ENTRY
|
||||
@ -359,7 +383,6 @@
|
||||
-TTLS_TLSA
|
||||
-TTLS_USAGE
|
||||
-TTLS_VINFO
|
||||
-TTLScontext_t
|
||||
-TTOK822
|
||||
-TTRANSPORT_INFO
|
||||
-TTRIGGER_SERVER
|
||||
@ -372,10 +395,11 @@
|
||||
-TWATCHDOG
|
||||
-TWATCH_FD
|
||||
-TX509
|
||||
-TX509V3_CTX
|
||||
-TX509_EXTENSION
|
||||
-TX509_NAME
|
||||
-Tx509_stack_t
|
||||
-TX509_STORE_CTX
|
||||
-TX509V3_CTX
|
||||
-TXSASL_CLIENT
|
||||
-TXSASL_CLIENT_CREATE_ARGS
|
||||
-TXSASL_CLIENT_IMPL
|
||||
@ -392,26 +416,3 @@
|
||||
-TXSASL_SERVER_CREATE_ARGS
|
||||
-TXSASL_SERVER_IMPL
|
||||
-TXSASL_SERVER_IMPL_INFO
|
||||
-Tbind_props
|
||||
-Tcipher_probe_t
|
||||
-Td2i_X509_t
|
||||
-Tdane_digest
|
||||
-Tfilter_ctx
|
||||
-Tgeneral_name_stack_t
|
||||
-Tiana_digest
|
||||
-Toff_t
|
||||
-Tpem_load_state_t
|
||||
-Tregex_t
|
||||
-Tregmatch_t
|
||||
-Tsasl_conn_t
|
||||
-Tsasl_secret_t
|
||||
-Tsfsistat
|
||||
-Tsigset_t
|
||||
-Tsize_t
|
||||
-Tsockaddr
|
||||
-Tssize_t
|
||||
-Tssl_cipher_stack_t
|
||||
-Tssl_comp_stack_t
|
||||
-Ttime_t
|
||||
-Ttlsa_filter
|
||||
-Tx509_stack_t
|
||||
|
@ -24093,3 +24093,15 @@ Apologies for any names omitted.
|
||||
FORWARD_SECRECY_README logging examples. Viktor Dukhovni.
|
||||
Files: proto/FORWARD_SECRECY_README.html, tls/tls.h,
|
||||
tls/tls_client.c, tls/tls_misc.c.
|
||||
|
||||
20190208
|
||||
|
||||
Debugging: the master(8) daemon now logs a warning if a
|
||||
master.cf entry is defined multiple times. File:
|
||||
src/master/master_conf.c.
|
||||
|
||||
20190209
|
||||
|
||||
Debugging: tlsproxy(8) now logs more details about unexpected
|
||||
configuration differences between the Postfix SMTP client
|
||||
and the tlsproxy(8) daemon.
|
||||
|
@ -13,6 +13,7 @@ GGeenneerraall ccoonnffiigguurraattiioonn
|
||||
* FORWARD_SECRECY_README: TLS Forward Secrecy
|
||||
* IPV6_README: IP Version 6 Support
|
||||
* SMTPUTF8_README: SMTPUTF8 Support
|
||||
* MAILLOG_README: Postfix logging to file or stdout
|
||||
* COMPATIBILITY_README: Backwards-Compatibility Safety Net
|
||||
* INSTALL: Installation from source code
|
||||
|
||||
|
@ -33,9 +33,15 @@ follows:
|
||||
|
||||
LLooookk ffoorr oobbvviioouuss ssiiggnnss ooff ttrroouubbllee
|
||||
|
||||
Postfix logs all failed and successful deliveries to a logfile. The file is
|
||||
usually called /var/log/maillog or /var/log/mail; the exact pathname is defined
|
||||
in the /etc/syslog.conf file.
|
||||
Postfix logs all failed and successful deliveries to a logfile.
|
||||
|
||||
* When Postfix uses syslog logging (the default), the file is usually called
|
||||
/var/log/maillog, /var/log/mail, or something similar; the exact pathname
|
||||
is configured in a file called /etc/syslog.conf, /etc/rsyslog.conf, or
|
||||
something similar.
|
||||
|
||||
* When Postfix uses its own logging system (see MAILLOG_README), the location
|
||||
of the logfile is configured with the Postfix maillog_file parameter.
|
||||
|
||||
When Postfix does not receive or deliver mail, the first order of business is
|
||||
to look for errors that prevent Postfix from working properly:
|
||||
|
113
postfix/README_FILES/MAILLOG_README
Normal file
113
postfix/README_FILES/MAILLOG_README
Normal file
@ -0,0 +1,113 @@
|
||||
PPoossttffiixx llooggggiinngg ttoo ffiillee oorr ssttddoouutt
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
OOvveerrvviieeww
|
||||
|
||||
Postfix supports it own logging system as an alternative to syslog (which
|
||||
remains the default). This is available with Postfix version 3.4 or later.
|
||||
|
||||
Topics covered in this document:
|
||||
|
||||
* Configuring logging to file
|
||||
* Configuring logging to stdout
|
||||
* Rotating logs
|
||||
* Limitations
|
||||
|
||||
CCoonnffiigguurriinngg llooggggiinngg ttoo ffiillee
|
||||
|
||||
Logging to file solves a usability problem for MacOS, and eliminates multiple
|
||||
problems for systemd-based systems.
|
||||
|
||||
1. Add the following line to master.cf if not already present (note: there
|
||||
must be no whitespace at the start of the line):
|
||||
|
||||
postlog unix-dgram n - n - 1 postlogd
|
||||
|
||||
Note: the service type "uunniixx--ddggrraamm" was introduced with Postfix 3.4. Remove
|
||||
the above line before backing out to an older Postfix version.
|
||||
|
||||
2. Configure Postfix to write logging, to, for example, /var/log/postfix.log.
|
||||
See also the "Logfile rotation" section below for logfile management.
|
||||
|
||||
# postfix stop
|
||||
# postconf maillog_file=/var/log/postfix.log
|
||||
# postfix start
|
||||
|
||||
By default, the logfile name must start with "/var" or "/dev/stdout" (the
|
||||
list of allowed prefixes is configured with the maillog_file_prefixes
|
||||
parameter). This safety mechanism limits the damage from a single
|
||||
configuration mistake.
|
||||
|
||||
CCoonnffiigguurriinngg llooggggiinngg ttoo ssttddoouutt
|
||||
|
||||
Logging to stdout is useful when Postfix runs in a container, as it eliminates
|
||||
a syslogd dependency.
|
||||
|
||||
1. Add the following line to master.cf if not already present (note: there
|
||||
must be no whitespace at the start of the line):
|
||||
|
||||
postlog unix-dgram n - n - 1 postlogd
|
||||
|
||||
Note: the service type "uunniixx--ddggrraamm" was introduced with Postfix 3.4. Remove
|
||||
the above line before backing out to an older Postfix version.
|
||||
|
||||
2. Configure main.cf with "maillog_file = /dev/stdout".
|
||||
|
||||
3. Start Postfix with "ppoossttffiixx ssttaarrtt--ffgg".
|
||||
|
||||
RRoottaattiinngg llooggss
|
||||
|
||||
The command "ppoossttffiixx llooggrroottaattee" may be run by hand or by a cronjob. It logs all
|
||||
errors, and reports errors to stderr if run from a terminal. This command
|
||||
implements the following steps:
|
||||
|
||||
* Rename the current logfile by appending a suffix that contains the date and
|
||||
time. This suffix is configured with the maillog_file_rotate_suffix
|
||||
parameter (default: %Y%M%d-%H%M%S).
|
||||
|
||||
* Reload Postfix so that postlogd(8) immediately closes the old logfile.
|
||||
|
||||
* After a brief pause, compress the old logfile. The compression program is
|
||||
configured with the maillog_file_compressor parameter (default: gzip).
|
||||
|
||||
Notes:
|
||||
|
||||
* This command will not rotate a logfile with pathname under the /dev
|
||||
directory, such as /dev/stdout.
|
||||
|
||||
* This command does not (yet) remove old logfiles.
|
||||
|
||||
LLiimmiittaattiioonnss
|
||||
|
||||
Background:
|
||||
|
||||
* Postfix consists of a number of daemon programs, and non-daemon programs
|
||||
some of which are used for local mail submission, and some for Postfix
|
||||
management.
|
||||
|
||||
* Logging to Postfix logfile or stdout requires the Postfix postlogd(8)
|
||||
service. This ensures that simultaneous logging from different programs
|
||||
will not get mixed up.
|
||||
|
||||
* All Postfix programs can log to syslog, but not all programs have
|
||||
sufficient privileges to use the Postfix logging service, and many non-
|
||||
daemon programs must not log to stdout as that would corrupt their output.
|
||||
|
||||
Limitations:
|
||||
|
||||
* Non-daemon Postfix programs will log errors to syslogd(8) before they have
|
||||
processed command-line options and main.cf parameters.
|
||||
|
||||
* If Postfix is down, the non-daemon programs postfix(1), postsuper(1),
|
||||
postmulti(1), and postlog(1), will log directly to $maillog_file. 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
|
||||
$maillog_file (also, logging to stdout would interfere with the operation
|
||||
of some of these programs). These programs can log to postlogd(8) if they
|
||||
are run by the super-user, or if their executable file has set-gid
|
||||
permission. Do not set this permission on programs other than postdrop(1)
|
||||
and postqueue(1).
|
||||
|
@ -28,16 +28,15 @@ comfortable with the IPL can continue with that license.
|
||||
Incompatible changes with snapshot 20190126-nonprod
|
||||
====================================================
|
||||
|
||||
This introduces a new master.cf service type 'unix-dgram' that is
|
||||
used by the new postlogd(8) daemon. This type is not supported by
|
||||
older Postfix versions. Before backing out to an older version,
|
||||
edit the master.cf file and remove the postlog entry.
|
||||
This introduces a new master.cf service 'postlog' with type
|
||||
'unix-dgram' that is used by the new postlogd(8) daemon. The
|
||||
'unix-dgram' service type is not supported by older Postfix versions.
|
||||
Before backing out to an older version, edit the master.cf file and
|
||||
remove the postlog entry.
|
||||
|
||||
Major changes with snapshot 20190126-nonprod
|
||||
============================================
|
||||
|
||||
[TODO: move most of this text to MAILLOG_README file]
|
||||
|
||||
Support for logging to file or stdout, instead of using syslog.
|
||||
|
||||
- Logging to file solves a usability problem for MacOS, and
|
||||
@ -46,69 +45,7 @@ Support for logging to file or stdout, instead of using syslog.
|
||||
- Logging to stdout is useful when Postfix runs in a container, as
|
||||
it eliminates a syslogd dependency.
|
||||
|
||||
To enable Postfix logging to file or stdout:
|
||||
--------------------------------------------
|
||||
|
||||
Add the following line to master.cf if not already present (note:
|
||||
there must be no whitespace at the start of the line):
|
||||
postlog unix-dgram n - n - 1 postlogd
|
||||
|
||||
To write logs to Postfix logfile (see below for logfile rotation):
|
||||
# postfix stop
|
||||
# postconf maillog_file=/var/log/postfix.log
|
||||
# postfix start
|
||||
|
||||
To write logs to stdout, typically while Postfix runs in a container:
|
||||
# postconf maillog_file=/dev/stdout
|
||||
# postfix start-fg
|
||||
|
||||
The maillog_file parameter must contain one of the prefixes that
|
||||
are specified with the maillog_file_prefixes parameter (default:
|
||||
/var, /dev/stdout). This limits the damage from a single configuration
|
||||
mistake.
|
||||
|
||||
To rotate a Postfix logfile with a daily cronjob:
|
||||
-------------------------------------------------
|
||||
|
||||
The command "postfix logrotate" renames the logfile by appending a
|
||||
suffix that contains the date and time, reloads Postfix so that it
|
||||
closes the old logfile, and after a brief pause compresses the old
|
||||
logfile. This command will not rotate the log if it specifies a
|
||||
pathname under the /dev directory, such as /dev/stdout.
|
||||
|
||||
The command "postfix logrotate" does not (yet) remove old logfiles.
|
||||
|
||||
Configuration parameters:
|
||||
- maillog_file_compressor (gzip)
|
||||
- maillog_file_rotate_suffix (%Y%M%d-%H%M%S)
|
||||
|
||||
See the postconf(5) manpage for detailed descriptions.
|
||||
|
||||
Limitations of logging to Postfix logfile or stdout:
|
||||
----------------------------------------------------
|
||||
|
||||
Background:
|
||||
|
||||
- Logging to Postfix logfile or stdout requires the Postfix postlogd(8)
|
||||
service. This program ensures that simultaneous logging from
|
||||
different programs will not get mixed up.
|
||||
|
||||
Limitations:
|
||||
|
||||
- Non-daemon Postfix programs may log to syslogd(8) before they
|
||||
have processed command-line options and main.cf parameters.
|
||||
|
||||
- If Postfix is down, the non-daemon programs postfix(1), postsuper(1),
|
||||
postmulti(1), and postlog(1), will log directly to $maillog_file.
|
||||
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
|
||||
$maillog_file (also, logging to stdout would interfere with the
|
||||
operation of some of these programs). These programs can log to
|
||||
postlogd(8) if they are run by the super-user, or if their
|
||||
executable file has set-gid permission. Do not set this permision
|
||||
on programs other than postdrop(1) and postqueue(1).
|
||||
See MAILLOG_README for configuration examples and logfile rotation.
|
||||
|
||||
Incompatible changes with snapshot 20190106
|
||||
===========================================
|
||||
@ -120,14 +57,24 @@ Major changes with snapshot 20190106
|
||||
====================================
|
||||
|
||||
SNI support in the Postfix SMTP server, the Postfix SMTP client,
|
||||
and in the tlsproxy daemon (both server and client roles).
|
||||
and in the tlsproxy daemon (both server and client roles). See the
|
||||
postconf(5) documentation for the new tls_server_sni_maps and
|
||||
smtp_tls_servername parameters.
|
||||
|
||||
Support for files that combine multiple (key, certificate, trust
|
||||
Support for files that contain multiple (key, certificate, trust
|
||||
chain) instances. This was required to implement server-side SNI
|
||||
table lookups, but it also eliminates the need for separate cert/key
|
||||
files for RSA, DSA, Elliptic Curve, and so on. The file format is
|
||||
documented in TLS_README sections [TODO] and in the postconf
|
||||
documentation for parameters [TODO].
|
||||
documented in the TLS_README sections "Server-side certificate and
|
||||
private key configuration" and "Client-side certificate and private
|
||||
key configuration", and in the postconf(5) documentation for the
|
||||
parameters smtp_tls_chain_files, smtpd_tls_chain_files,
|
||||
tlsproxy_client_chain_files, and tlsproxy_tls_chain_files.
|
||||
|
||||
Note: the command "postfix tls" does not yet support the new
|
||||
consolidated certificate chain format. If you switch to the new
|
||||
format, you'll need to manage your keys and certificates directly,
|
||||
rather than via postfix-tls(1).
|
||||
|
||||
Major changes with snapshot 20180826
|
||||
====================================
|
||||
|
@ -1,6 +1,14 @@
|
||||
Wish list:
|
||||
|
||||
Add maillog_file to postfix(1) exports?
|
||||
Move tls_proxy_client_scan.c _to_string() function
|
||||
to tls_proxy_client_misc.c.
|
||||
|
||||
In tlsproxy, include parameter names in the diffs between
|
||||
expected and client properties. This requires a function
|
||||
tls_proxy_client_init_with_names_to_string().
|
||||
|
||||
make tls_pre_jail_init() safe by design for use in programs
|
||||
that implement both clients and servers.
|
||||
|
||||
postfix rotate-log command: mv postfix.log postfix.log.$(date
|
||||
+%Y%M%d-%H%M%S) to avoid data loss if called repeatedly.
|
||||
|
@ -71,9 +71,20 @@ debugger</a>
|
||||
|
||||
<h2><a name="logging">Look for obvious signs of trouble</a></h2>
|
||||
|
||||
<p> Postfix logs all failed and successful deliveries to a logfile.
|
||||
The file is usually called /var/log/maillog or /var/log/mail; the
|
||||
exact pathname is defined in the /etc/syslog.conf file. </p>
|
||||
<p> Postfix logs all failed and successful deliveries to a logfile. </p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li> <p> When Postfix uses syslog logging (the default), the file
|
||||
is usually called /var/log/maillog, /var/log/mail, or something
|
||||
similar; the exact pathname is configured in a file called
|
||||
/etc/syslog.conf, /etc/rsyslog.conf, or something similar. </p>
|
||||
|
||||
<li> <p> When Postfix uses its own logging system (see <a href="MAILLOG_README.html">MAILLOG_README</a>),
|
||||
the location of the logfile is configured with the Postfix <a href="postconf.5.html#maillog_file">maillog_file</a>
|
||||
parameter. </p>
|
||||
|
||||
</ul>
|
||||
|
||||
<p> When Postfix does not receive or deliver mail, the first order
|
||||
of business is to look for errors that prevent Postfix from working
|
||||
|
183
postfix/html/MAILLOG_README.html
Normal file
183
postfix/html/MAILLOG_README.html
Normal file
@ -0,0 +1,183 @@
|
||||
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
<title>Postfix logging to file or stdout</title>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1><img src="postfix-logo.jpg" width="203" height="98" ALT="">Postfix
|
||||
logging to file or stdout</h1>
|
||||
|
||||
<hr>
|
||||
|
||||
<h2>Overview </h2>
|
||||
|
||||
<p> Postfix supports it own logging system as an alternative to
|
||||
syslog (which remains the default). This is available with Postfix
|
||||
version 3.4 or later. </p>
|
||||
|
||||
<p> Topics covered in this document: </p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><a href="#log-to-file">Configuring logging to file</a>
|
||||
|
||||
<li><a href="#log-to-stdout">Configuring logging to stdout</a>
|
||||
|
||||
<li><a href="#logrotate">Rotating logs </a>
|
||||
|
||||
<li><a href="#limitations">Limitations</a>
|
||||
|
||||
</ul>
|
||||
|
||||
<h2> <a name="log-to-file"> Configuring logging to file </a> </h2>
|
||||
|
||||
<p> Logging to file solves a usability problem for MacOS, and
|
||||
eliminates multiple problems for systemd-based systems. </p>
|
||||
|
||||
<ol>
|
||||
|
||||
<li> <p> Add the following line to <a href="master.5.html">master.cf</a> if not already present
|
||||
(note: there must be no whitespace at the start of the line): </p>
|
||||
|
||||
<blockquote>
|
||||
<pre>
|
||||
postlog unix-dgram n - n - 1 postlogd
|
||||
</pre>
|
||||
</blockquote>
|
||||
|
||||
<p> Note: the service type "<b>unix-dgram</b>" was introduced with
|
||||
Postfix 3.4. Remove the above line before backing out to an older
|
||||
Postfix version. </p>
|
||||
|
||||
<li> <p> Configure Postfix to write logging, to, for example,
|
||||
/var/log/postfix.log. See also the "<a href="#logrotate">Logfile
|
||||
rotation</a>" section below for logfile management. </p>
|
||||
|
||||
<blockquote>
|
||||
<pre>
|
||||
# postfix stop
|
||||
# postconf <a href="postconf.5.html#maillog_file">maillog_file</a>=/var/log/postfix.log
|
||||
# postfix start
|
||||
</pre>
|
||||
</blockquote>
|
||||
|
||||
<p> By default, the logfile name must start with "/var" or "/dev/stdout"
|
||||
(the list of allowed prefixes is configured with the <a href="postconf.5.html#maillog_file_prefixes">maillog_file_prefixes</a>
|
||||
parameter). This safety mechanism limits the damage from a single
|
||||
configuration mistake. </p>
|
||||
|
||||
</ol>
|
||||
|
||||
<h2> <a name="log-to-stdout"> Configuring logging to stdout </a> </h2>
|
||||
|
||||
<p> Logging to stdout is useful when Postfix runs in a container,
|
||||
as it eliminates a syslogd dependency. </p>
|
||||
|
||||
<ol>
|
||||
|
||||
<li> <p> Add the following line to <a href="master.5.html">master.cf</a> if not already present (note:
|
||||
there must be no whitespace at the start of the line): </p>
|
||||
|
||||
<blockquote>
|
||||
<pre>
|
||||
postlog unix-dgram n - n - 1 postlogd
|
||||
</pre>
|
||||
</blockquote>
|
||||
|
||||
<p> Note: the service type "<b>unix-dgram</b>" was introduced with
|
||||
Postfix 3.4. Remove the above line before backing out to an older
|
||||
Postfix version. </p>
|
||||
|
||||
<li> <p> Configure <a href="postconf.5.html">main.cf</a> with "<a href="postconf.5.html#maillog_file">maillog_file</a> = /dev/stdout". </p>
|
||||
|
||||
<li> <p> Start Postfix with "<b>postfix start-fg</b>". </p>
|
||||
|
||||
</ol>
|
||||
|
||||
<h2> <a name="logrotate"> Rotating logs </a> </h2>
|
||||
|
||||
<p> The command "<b>postfix logrotate</b>" may be run by hand or
|
||||
by a cronjob. It logs all errors, and reports errors to stderr if
|
||||
run from a terminal. This command implements the following steps:
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li> <p> Rename the current logfile by appending a suffix that
|
||||
contains the date and time. This suffix is configured with the
|
||||
<a href="postconf.5.html#maillog_file_rotate_suffix">maillog_file_rotate_suffix</a> parameter (default: %Y%M%d-%H%M%S). </p>
|
||||
|
||||
<li> <p> Reload Postfix so that <a href="postlogd.8.html">postlogd(8)</a> immediately closes the
|
||||
old logfile. </p>
|
||||
|
||||
<li> <p> After a brief pause, compress the old logfile. The compression
|
||||
program is configured with the <a href="postconf.5.html#maillog_file_compressor">maillog_file_compressor</a> parameter
|
||||
(default: gzip). </p>
|
||||
|
||||
</ul>
|
||||
|
||||
<p> Notes: </p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li> <p> This command will not rotate a logfile with pathname under
|
||||
the /dev directory, such as /dev/stdout. </p>
|
||||
|
||||
<li> <p> This command does not (yet) remove old logfiles. </p>
|
||||
|
||||
</ul>
|
||||
|
||||
<h2> <a name="limitations">Limitations</a> </h2>
|
||||
|
||||
<p> Background: </p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li> <p> Postfix consists of a number of daemon programs, and
|
||||
non-daemon programs some of which are used for local mail submission,
|
||||
and some for Postfix management.
|
||||
|
||||
<li> <p> Logging to Postfix logfile or stdout requires the Postfix
|
||||
<a href="postlogd.8.html">postlogd(8)</a> service. This ensures that simultaneous logging from
|
||||
different programs will not get mixed up. </p>
|
||||
|
||||
<li> <p> All Postfix programs can log to syslog, but not all programs
|
||||
have sufficient privileges to use the Postfix logging service, and
|
||||
many non-daemon programs must not log to stdout as that would corrupt
|
||||
their output. </p>
|
||||
|
||||
</ul>
|
||||
|
||||
<p> Limitations: </p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li> <p> Non-daemon Postfix programs will log errors to syslogd(8)
|
||||
before they have processed command-line options and <a href="postconf.5.html">main.cf</a> parameters.
|
||||
|
||||
<li> <p> If Postfix is down, the non-daemon programs <a href="postfix.1.html">postfix(1)</a>,
|
||||
<a href="postsuper.1.html">postsuper(1)</a>, <a href="postmulti.1.html">postmulti(1)</a>, and <a href="postlog.1.html">postlog(1)</a>, will log directly to
|
||||
$<a href="postconf.5.html#maillog_file">maillog_file</a>. These programs expect to run with root privileges,
|
||||
for example during Postfix start-up, reload, or shutdown.
|
||||
|
||||
<li> <p> Other non-daemon Postfix programs will never write directly
|
||||
to $<a href="postconf.5.html#maillog_file">maillog_file</a> (also, logging to stdout would interfere with the
|
||||
operation of some of these programs). These programs can log to
|
||||
<a href="postlogd.8.html">postlogd(8)</a> if they are run by the super-user, or if their executable
|
||||
file has set-gid permission. Do not set this permission on programs
|
||||
other than <a href="postdrop.1.html">postdrop(1)</a> and <a href="postqueue.1.html">postqueue(1)</a>.
|
||||
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
@ -134,7 +134,7 @@ ANVIL(8) ANVIL(8)
|
||||
is kept.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
Upon exit, and every <b><a href="postconf.5.html#anvil_status_update_time">anvil_status_update_time</a></b> seconds, the server logs
|
||||
the maximal count and rate values measured, together with (service,
|
||||
|
@ -51,7 +51,7 @@ BOUNCE(8) BOUNCE(8)
|
||||
<a href="http://tools.ietf.org/html/rfc6533">RFC 6533</a> (Internationalized Delivery Status Notifications)
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>CONFIGURATION PARAMETERS</b>
|
||||
Changes to <a href="postconf.5.html"><b>main.cf</b></a> are picked up automatically, as <a href="bounce.8.html"><b>bounce</b>(8)</a> processes
|
||||
@ -164,6 +164,7 @@ BOUNCE(8) BOUNCE(8)
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="master.5.html">master(5)</a>, generic daemon options
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>LICENSE</b>
|
||||
|
@ -61,7 +61,7 @@ CLEANUP(8) CLEANUP(8)
|
||||
<a href="http://tools.ietf.org/html/rfc5322">RFC 5322</a> (Internet Message Format)
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>BUGS</b>
|
||||
Table-driven rewriting rules make it hard to express <b>if then else</b> and
|
||||
@ -310,7 +310,7 @@ CLEANUP(8) CLEANUP(8)
|
||||
|
||||
<b><a href="postconf.5.html#masquerade_exceptions">masquerade_exceptions</a> (empty)</b>
|
||||
Optional list of user names that are not subjected to address
|
||||
masquerading, even when their address matches $<a href="postconf.5.html#masquerade_domains">masquer</a>-
|
||||
masquerading, even when their addresses match $<a href="postconf.5.html#masquerade_domains">masquer</a>-
|
||||
<a href="postconf.5.html#masquerade_domains">ade_domains</a>.
|
||||
|
||||
<b><a href="postconf.5.html#propagate_unmatched_extensions">propagate_unmatched_extensions</a> (canonical, virtual)</b>
|
||||
@ -503,6 +503,7 @@ CLEANUP(8) CLEANUP(8)
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="master.5.html">master(5)</a>, generic daemon options
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README FILES</b>
|
||||
|
@ -51,7 +51,7 @@ BOUNCE(8) BOUNCE(8)
|
||||
<a href="http://tools.ietf.org/html/rfc6533">RFC 6533</a> (Internationalized Delivery Status Notifications)
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>CONFIGURATION PARAMETERS</b>
|
||||
Changes to <a href="postconf.5.html"><b>main.cf</b></a> are picked up automatically, as <a href="bounce.8.html"><b>bounce</b>(8)</a> processes
|
||||
@ -164,6 +164,7 @@ BOUNCE(8) BOUNCE(8)
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="master.5.html">master(5)</a>, generic daemon options
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>LICENSE</b>
|
||||
|
@ -36,7 +36,7 @@ DISCARD(8) DISCARD(8)
|
||||
<a href="http://tools.ietf.org/html/rfc3463">RFC 3463</a> (Enhanced Status Codes)
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
Depending on the setting of the <b><a href="postconf.5.html#notify_classes">notify_classes</a></b> parameter, the postmas-
|
||||
ter is notified of bounces and of other trouble.
|
||||
@ -105,6 +105,7 @@ DISCARD(8) DISCARD(8)
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="master.5.html">master(5)</a>, generic daemon options
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>LICENSE</b>
|
||||
|
@ -29,7 +29,7 @@ DNSBLOG(8) DNSBLOG(8)
|
||||
server closes the connection.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>CONFIGURATION PARAMETERS</b>
|
||||
Changes to <a href="postconf.5.html"><b>main.cf</b></a> are picked up automatically, as <a href="dnsblog.8.html"><b>dnsblog</b>(8)</a> processes
|
||||
@ -79,7 +79,8 @@ DNSBLOG(8) DNSBLOG(8)
|
||||
<b>SEE ALSO</b>
|
||||
<a href="smtpd.8.html">smtpd(8)</a>, Postfix SMTP server
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
syslogd(5), system logging
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>LICENSE</b>
|
||||
The Secure Mailer license must be distributed with this software.
|
||||
|
@ -37,7 +37,7 @@ ERROR(8) ERROR(8)
|
||||
<a href="http://tools.ietf.org/html/rfc3463">RFC 3463</a> (Enhanced Status Codes)
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
Depending on the setting of the <b><a href="postconf.5.html#notify_classes">notify_classes</a></b> parameter, the postmas-
|
||||
ter is notified of bounces and of other trouble.
|
||||
@ -118,6 +118,7 @@ ERROR(8) ERROR(8)
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="master.5.html">master(5)</a>, generic daemon options
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>LICENSE</b>
|
||||
|
@ -61,7 +61,7 @@ FLUSH(8) FLUSH(8)
|
||||
can run chrooted at fixed low privilege.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>BUGS</b>
|
||||
Fast flush logfiles are truncated only after a "send" request, not when
|
||||
@ -152,6 +152,7 @@ FLUSH(8) FLUSH(8)
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="master.5.html">master(5)</a>, generic daemon options
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README FILES</b>
|
||||
|
@ -48,6 +48,8 @@ configuration examples </a>
|
||||
|
||||
<li> <a href="SMTPUTF8_README.html"> SMTPUTF8 Support </a>
|
||||
|
||||
<li> <a href="MAILLOG_README.html"> Postfix logging to file or stdout </a>
|
||||
|
||||
<li> <a href="COMPATIBILITY_README.html"> Backwards-Compatibility Safety Net</a>
|
||||
|
||||
<li> <a href="INSTALL.html"> Installation from source code </a>
|
||||
|
@ -112,9 +112,9 @@ SMTP(8) SMTP(8)
|
||||
<a href="http://tools.ietf.org/html/rfc7672">RFC 7672</a> (SMTP security via opportunistic DANE TLS)
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8). Corrupted message
|
||||
files are marked so that the queue manager can move them to the <b>corrupt</b>
|
||||
queue for further inspection.
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
Corrupted message files are marked so that the queue manager can move
|
||||
them to the <b>corrupt</b> queue for further inspection.
|
||||
|
||||
Depending on the setting of the <b><a href="postconf.5.html#notify_classes">notify_classes</a></b> parameter, the postmas-
|
||||
ter is notified of bounces, protocol problems, and of other trouble.
|
||||
@ -913,6 +913,7 @@ SMTP(8) SMTP(8)
|
||||
<a href="master.5.html">master(5)</a>, generic daemon options
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="tlsmgr.8.html">tlsmgr(8)</a>, TLS session and PRNG management
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README FILES</b>
|
||||
|
@ -283,9 +283,9 @@ LOCAL(8) LOCAL(8)
|
||||
<a href="http://tools.ietf.org/html/rfc3463">RFC 3463</a> (Enhanced status codes)
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8). Corrupted message
|
||||
files are marked so that the queue manager can move them to the <b>corrupt</b>
|
||||
queue afterwards.
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
Corrupted message files are marked so that the queue manager can move
|
||||
them to the <b>corrupt</b> queue afterwards.
|
||||
|
||||
Depending on the setting of the <b><a href="postconf.5.html#notify_classes">notify_classes</a></b> parameter, the postmas-
|
||||
ter is notified of bounces and of other trouble.
|
||||
@ -589,6 +589,7 @@ LOCAL(8) LOCAL(8)
|
||||
<a href="aliases.5.html">aliases(5)</a>, format of alias database
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="master.5.html">master(5)</a>, generic daemon options
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>LICENSE</b>
|
||||
|
@ -285,7 +285,8 @@ SENDMAIL(1) SENDMAIL(1)
|
||||
precautions need to be taken against malicious inputs.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems are logged to <b>syslogd</b>(8) and to the standard error stream.
|
||||
Problems are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>, and to the standard
|
||||
error stream.
|
||||
|
||||
<b>ENVIRONMENT</b>
|
||||
<b>MAIL_CONFIG</b>
|
||||
@ -458,6 +459,7 @@ SENDMAIL(1) SENDMAIL(1)
|
||||
<a href="postdrop.1.html">postdrop(1)</a>, mail posting utility
|
||||
<a href="postfix.1.html">postfix(1)</a>, mail system control
|
||||
<a href="postqueue.1.html">postqueue(1)</a>, mail queue control
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README_FILES</b>
|
||||
|
@ -92,9 +92,9 @@ MASTER(8) MASTER(8)
|
||||
running processes to finish what they are doing.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems are reported to <b>syslogd</b>(8). The exit status is non-zero in
|
||||
case of problems, including problems while initializing as a master
|
||||
daemon process in the background.
|
||||
Problems are reported to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>. The exit status is
|
||||
non-zero in case of problems, including problems while initializing as
|
||||
a master daemon process in the background.
|
||||
|
||||
<b>ENVIRONMENT</b>
|
||||
<b>MAIL_DEBUG</b>
|
||||
@ -198,6 +198,7 @@ MASTER(8) MASTER(8)
|
||||
<a href="verify.8.html">verify(8)</a>, address verification
|
||||
<a href="master.5.html">master(5)</a>, <a href="master.5.html">master.cf</a> configuration file syntax
|
||||
<a href="postconf.5.html">postconf(5)</a>, <a href="postconf.5.html">main.cf</a> configuration file syntax
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>LICENSE</b>
|
||||
|
@ -285,7 +285,8 @@ SENDMAIL(1) SENDMAIL(1)
|
||||
precautions need to be taken against malicious inputs.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems are logged to <b>syslogd</b>(8) and to the standard error stream.
|
||||
Problems are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>, and to the standard
|
||||
error stream.
|
||||
|
||||
<b>ENVIRONMENT</b>
|
||||
<b>MAIL_CONFIG</b>
|
||||
@ -458,6 +459,7 @@ SENDMAIL(1) SENDMAIL(1)
|
||||
<a href="postdrop.1.html">postdrop(1)</a>, mail posting utility
|
||||
<a href="postfix.1.html">postfix(1)</a>, mail system control
|
||||
<a href="postqueue.1.html">postqueue(1)</a>, mail queue control
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README_FILES</b>
|
||||
|
@ -144,9 +144,9 @@ OQMGR(8) OQMGR(8)
|
||||
environment.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to the <b>syslog</b>(8) daemon. Cor-
|
||||
rupted message files are saved to the <b>corrupt</b> queue for further inspec-
|
||||
tion.
|
||||
Problems and transactions are logged to the <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>
|
||||
daemon. Corrupted message files are saved to the <b>corrupt</b> queue for
|
||||
further inspection.
|
||||
|
||||
Depending on the setting of the <b><a href="postconf.5.html#notify_classes">notify_classes</a></b> parameter, the postmas-
|
||||
ter is notified of bounces and of other trouble.
|
||||
@ -300,9 +300,8 @@ OQMGR(8) OQMGR(8)
|
||||
|
||||
<b><a href="postconf.5.html#default_destination_rate_delay">default_destination_rate_delay</a> (0s)</b>
|
||||
The default amount of delay that is inserted between individual
|
||||
deliveries to the same destination; the resulting behavior
|
||||
depends on the value of the corresponding per-destination recip-
|
||||
ient limit.
|
||||
message deliveries to the same destination and over the same
|
||||
message delivery transport.
|
||||
|
||||
<b>transport_destination_rate_delay ($<a href="postconf.5.html#default_destination_rate_delay">default_destination_rate_delay</a>)</b>
|
||||
A transport-specific override for the <a href="postconf.5.html#default_destination_rate_delay">default_destina</a>-
|
||||
@ -313,8 +312,8 @@ OQMGR(8) OQMGR(8)
|
||||
|
||||
<b><a href="postconf.5.html#default_transport_rate_delay">default_transport_rate_delay</a> (0s)</b>
|
||||
The default amount of delay that is inserted between individual
|
||||
deliveries over the same message delivery transport, regardless
|
||||
of destination.
|
||||
message deliveries over the same message delivery transport,
|
||||
regardless of destination.
|
||||
|
||||
<b>transport_transport_rate_delay ($<a href="postconf.5.html#default_transport_rate_delay">default_transport_rate_delay</a>)</b>
|
||||
A transport-specific override for the <a href="postconf.5.html#default_transport_rate_delay">default_trans</a>-
|
||||
@ -395,6 +394,7 @@ OQMGR(8) OQMGR(8)
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="master.5.html">master(5)</a>, generic daemon options
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README FILES</b>
|
||||
|
@ -30,7 +30,7 @@ PICKUP(8) PICKUP(8)
|
||||
public service endpoint.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>BUGS</b>
|
||||
The <a href="pickup.8.html"><b>pickup</b>(8)</a> daemon copies mail from file to the <a href="cleanup.8.html"><b>cleanup</b>(8)</a> daemon.
|
||||
@ -104,6 +104,7 @@ PICKUP(8) PICKUP(8)
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="master.5.html">master(5)</a>, generic daemon options
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>LICENSE</b>
|
||||
|
@ -361,9 +361,9 @@ PIPE(8) PIPE(8)
|
||||
fications (Postfix 3.0 and later). This command output is not examined
|
||||
for the presence of an enhanced status code.
|
||||
|
||||
Problems and transactions are logged to <b>syslogd</b>(8). Corrupted message
|
||||
files are marked so that the queue manager can move them to the <b>corrupt</b>
|
||||
queue for further inspection.
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
Corrupted message files are marked so that the queue manager can move
|
||||
them to the <b>corrupt</b> queue for further inspection.
|
||||
|
||||
<b>SECURITY</b>
|
||||
This program needs a dual personality 1) to access the private Postfix
|
||||
@ -477,6 +477,7 @@ PIPE(8) PIPE(8)
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="master.5.html">master(5)</a>, generic daemon options
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>LICENSE</b>
|
||||
|
@ -149,9 +149,9 @@ POSTALIAS(1) POSTALIAS(1)
|
||||
base.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems are logged to the standard error stream and to <b>syslogd</b>(8). No
|
||||
output means that no problems were detected. Duplicate entries are
|
||||
skipped and are flagged with a warning.
|
||||
Problems are logged to the standard error stream and to <b>syslogd</b>(8) or
|
||||
<a href="postlogd.8.html"><b>postlogd</b>(8)</a>. No output means that no problems were detected. Duplicate
|
||||
entries are skipped and are flagged with a warning.
|
||||
|
||||
<a href="postalias.1.html"><b>postalias</b>(1)</a> terminates with zero exit status in case of success
|
||||
(including successful "<b>postalias -q</b>" lookup) and terminates with
|
||||
@ -217,6 +217,7 @@ POSTALIAS(1) POSTALIAS(1)
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="postmap.1.html">postmap(1)</a>, create/update/query lookup tables
|
||||
<a href="newaliases.1.html">newaliases(1)</a>, Sendmail compatibility interface.
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README FILES</b>
|
||||
|
@ -6241,9 +6241,10 @@ substitutions in regular expression maps. </p>
|
||||
(default: empty)</b></DT><DD>
|
||||
|
||||
<p> The name of an optional logfile that is written by the Postfix
|
||||
<a href="postlogd.8.html">postlogd(8)</a> service. A non-empty value disables logging to syslogd(8).
|
||||
Specify "/dev/stdout" for logging to standard output. Stdout logging
|
||||
requires that Postfix is started with "postfix start-fg". </p>
|
||||
<a href="postlogd.8.html">postlogd(8)</a> service. A non-empty value selects logging to syslogd(8).
|
||||
Specify "/dev/stdout" to select logging to standard output. Stdout
|
||||
logging requires that Postfix is started with "postfix start-fg".
|
||||
</p>
|
||||
|
||||
<p> Note 1: The <a href="postconf.5.html#maillog_file">maillog_file</a> parameter value must contain a prefix
|
||||
that is specified with the <a href="postconf.5.html#maillog_file_prefixes">maillog_file_prefixes</a> parameter. </p>
|
||||
@ -6261,8 +6262,8 @@ parameters and command-line options. </p>
|
||||
(default: gzip)</b></DT><DD>
|
||||
|
||||
<p> The program to run after rotating $<a href="postconf.5.html#maillog_file">maillog_file</a> with "postfix
|
||||
logrotate". The command is run with the rotated file as its first
|
||||
argument. </p>
|
||||
logrotate". The command is run with the rotated logfile name as its
|
||||
first argument. </p>
|
||||
|
||||
<p> This feature is available in Postfix 3.4 and later. </p>
|
||||
|
||||
|
@ -38,9 +38,9 @@ POSTDROP(1) POSTDROP(1)
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Fatal errors: malformed input, I/O error, out of memory. Problems are
|
||||
logged to <b>syslogd</b>(8) and to the standard error stream. When the input
|
||||
is incomplete, or when the process receives a HUP, INT, QUIT or TERM
|
||||
signal, the queue file is deleted.
|
||||
logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a> and to the standard error stream.
|
||||
When the input is incomplete, or when the process receives a HUP, INT,
|
||||
QUIT or TERM signal, the queue file is deleted.
|
||||
|
||||
<b>ENVIRONMENT</b>
|
||||
MAIL_CONFIG
|
||||
@ -100,6 +100,7 @@ POSTDROP(1) POSTDROP(1)
|
||||
<b>SEE ALSO</b>
|
||||
<a href="sendmail.1.html">sendmail(1)</a>, compatibility interface
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>LICENSE</b>
|
||||
|
@ -20,8 +20,9 @@ POSTLOG(1) POSTLOG(1)
|
||||
record. If no <i>text</i> is specified on the command line, <a href="postlog.1.html"><b>postlog</b>(1)</a> reads
|
||||
from standard input and logs each input line as one record.
|
||||
|
||||
By default, logging is sent to <b>syslogd</b>(8); when the standard error
|
||||
stream is connected to a terminal, logging is sent there as well.
|
||||
By default, logging is sent to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>; when the
|
||||
standard error stream is connected to a terminal, logging is sent there
|
||||
as well.
|
||||
|
||||
The following options are implemented:
|
||||
|
||||
@ -84,8 +85,8 @@ POSTLOG(1) POSTLOG(1)
|
||||
|
||||
<b>SEE ALSO</b>
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
syslogd(8), syslog daemon
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, internal logging service
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>LICENSE</b>
|
||||
The Secure Mailer license must be distributed with this software.
|
||||
|
@ -69,7 +69,12 @@ POSTLOGD(8) POSTLOGD(8)
|
||||
|
||||
<b>SEE ALSO</b>
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
syslogd(5), system logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README_FILES</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>LICENSE</b>
|
||||
The Secure Mailer license must be distributed with this software.
|
||||
|
@ -225,9 +225,9 @@ POSTMAP(1) POSTMAP(1)
|
||||
base.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems are logged to the standard error stream and to <b>syslogd</b>(8). No
|
||||
output means that no problems were detected. Duplicate entries are
|
||||
skipped and are flagged with a warning.
|
||||
Problems are logged to the standard error stream and to <b>syslogd</b>(8) or
|
||||
<a href="postlogd.8.html"><b>postlogd</b>(8)</a>. No output means that no problems were detected. Duplicate
|
||||
entries are skipped and are flagged with a warning.
|
||||
|
||||
<a href="postmap.1.html"><b>postmap</b>(1)</a> terminates with zero exit status in case of success (includ-
|
||||
ing successful "<b>postmap -q</b>" lookup) and terminates with non-zero exit
|
||||
@ -281,6 +281,7 @@ POSTMAP(1) POSTMAP(1)
|
||||
<a href="postalias.1.html">postalias(1)</a>, create/update/query alias database
|
||||
<a href="postconf.1.html">postconf(1)</a>, supported database types
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README FILES</b>
|
||||
|
@ -148,7 +148,8 @@ POSTQUEUE(1) POSTQUEUE(1)
|
||||
<a href="http://tools.ietf.org/html/rfc7159">RFC 7159</a> (JSON notation)
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems are logged to <b>syslogd</b>(8) and to the standard error stream.
|
||||
Problems are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>, and to the standard
|
||||
error stream.
|
||||
|
||||
<b>ENVIRONMENT</b>
|
||||
MAIL_CONFIG
|
||||
@ -219,6 +220,8 @@ POSTQUEUE(1) POSTQUEUE(1)
|
||||
<a href="flush.8.html">flush(8)</a>, fast flush service
|
||||
<a href="sendmail.1.html">sendmail(1)</a>, Sendmail-compatible user interface
|
||||
<a href="postsuper.1.html">postsuper(1)</a>, privileged queue operations
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README FILES</b>
|
||||
<a href="ETRN_README.html">ETRN_README</a>, Postfix ETRN howto
|
||||
|
@ -71,7 +71,7 @@ POSTSCREEN(8) POSTSCREEN(8)
|
||||
<a href="http://tools.ietf.org/html/rfc5321">RFC 5321</a> (SMTP protocol, including multi-line 220 banners)
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>BUGS</b>
|
||||
The <a href="postscreen.8.html"><b>postscreen</b>(8)</a> built-in SMTP protocol engine currently does not
|
||||
@ -413,6 +413,7 @@ POSTSCREEN(8) POSTSCREEN(8)
|
||||
<a href="smtpd.8.html">smtpd(8)</a>, Postfix SMTP server
|
||||
<a href="tlsproxy.8.html">tlsproxy(8)</a>, Postfix TLS proxy server
|
||||
<a href="dnsblog.8.html">dnsblog(8)</a>, DNS black/whitelist logger
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README FILES</b>
|
||||
|
@ -190,12 +190,13 @@ POSTSUPER(1) POSTSUPER(1)
|
||||
options make the software increasingly verbose.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems are reported to the standard error stream and to <b>syslogd</b>(8).
|
||||
Problems are reported to the standard error stream and to <b>syslogd</b>(8) or
|
||||
<a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<a href="postsuper.1.html"><b>postsuper</b>(1)</a> reports the number of messages deleted with <b>-d</b>, the number
|
||||
of messages requeued with <b>-r</b>, and the number of messages whose queue
|
||||
file name was fixed with <b>-s</b>. The report is written to the standard
|
||||
error stream and to <b>syslogd</b>(8).
|
||||
error stream and to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>ENVIRONMENT</b>
|
||||
MAIL_CONFIG
|
||||
@ -245,6 +246,8 @@ POSTSUPER(1) POSTSUPER(1)
|
||||
<b>SEE ALSO</b>
|
||||
<a href="sendmail.1.html">sendmail(1)</a>, Sendmail-compatible user interface
|
||||
<a href="postqueue.1.html">postqueue(1)</a>, unprivileged queue operations
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>LICENSE</b>
|
||||
The Secure Mailer license must be distributed with this software.
|
||||
|
@ -123,7 +123,7 @@ PROXYMAP(8) PROXYMAP(8)
|
||||
its content.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>BUGS</b>
|
||||
The <a href="proxymap.8.html"><b>proxymap</b>(8)</a> server provides service to multiple clients, and must
|
||||
|
@ -149,8 +149,9 @@ QMGR(8) QMGR(8)
|
||||
environment.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to the syslog daemon. Corrupted
|
||||
message files are saved to the <b>corrupt</b> queue for further inspection.
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
Corrupted message files are saved to the <b>corrupt</b> queue for further
|
||||
inspection.
|
||||
|
||||
Depending on the setting of the <b><a href="postconf.5.html#notify_classes">notify_classes</a></b> parameter, the postmas-
|
||||
ter is notified of bounces and of other trouble.
|
||||
@ -377,9 +378,8 @@ QMGR(8) QMGR(8)
|
||||
|
||||
<b><a href="postconf.5.html#default_destination_rate_delay">default_destination_rate_delay</a> (0s)</b>
|
||||
The default amount of delay that is inserted between individual
|
||||
deliveries to the same destination; the resulting behavior
|
||||
depends on the value of the corresponding per-destination recip-
|
||||
ient limit.
|
||||
message deliveries to the same destination and over the same
|
||||
message delivery transport.
|
||||
|
||||
<b>transport_destination_rate_delay ($<a href="postconf.5.html#default_destination_rate_delay">default_destination_rate_delay</a>)</b>
|
||||
A transport-specific override for the <a href="postconf.5.html#default_destination_rate_delay">default_destina</a>-
|
||||
@ -390,8 +390,8 @@ QMGR(8) QMGR(8)
|
||||
|
||||
<b><a href="postconf.5.html#default_transport_rate_delay">default_transport_rate_delay</a> (0s)</b>
|
||||
The default amount of delay that is inserted between individual
|
||||
deliveries over the same message delivery transport, regardless
|
||||
of destination.
|
||||
message deliveries over the same message delivery transport,
|
||||
regardless of destination.
|
||||
|
||||
<b>transport_transport_rate_delay ($<a href="postconf.5.html#default_transport_rate_delay">default_transport_rate_delay</a>)</b>
|
||||
A transport-specific override for the <a href="postconf.5.html#default_transport_rate_delay">default_trans</a>-
|
||||
@ -472,6 +472,7 @@ QMGR(8) QMGR(8)
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="master.5.html">master(5)</a>, generic daemon options
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README FILES</b>
|
||||
|
@ -27,7 +27,7 @@ QMQPD(8) QMQPD(8)
|
||||
chrooted at fixed low privilege.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>BUGS</b>
|
||||
The QMQP protocol provides only one server reply per message delivery.
|
||||
@ -169,6 +169,7 @@ QMQPD(8) QMQPD(8)
|
||||
<a href="http://cr.yp.to/proto/qmqp.html">http://cr.yp.to/proto/qmqp.html</a>, QMQP protocol
|
||||
<a href="cleanup.8.html">cleanup(8)</a>, message canonicalization
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README FILES</b>
|
||||
|
@ -73,7 +73,7 @@ SCACHE(8) SCACHE(8)
|
||||
store information that is security sensitive.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>BUGS</b>
|
||||
The session cache cannot be shared among multiple machines.
|
||||
@ -138,6 +138,7 @@ SCACHE(8) SCACHE(8)
|
||||
<a href="smtp.8.html">smtp(8)</a>, SMTP client
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README FILES</b>
|
||||
|
@ -285,7 +285,8 @@ SENDMAIL(1) SENDMAIL(1)
|
||||
precautions need to be taken against malicious inputs.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems are logged to <b>syslogd</b>(8) and to the standard error stream.
|
||||
Problems are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>, and to the standard
|
||||
error stream.
|
||||
|
||||
<b>ENVIRONMENT</b>
|
||||
<b>MAIL_CONFIG</b>
|
||||
@ -458,6 +459,7 @@ SENDMAIL(1) SENDMAIL(1)
|
||||
<a href="postdrop.1.html">postdrop(1)</a>, mail posting utility
|
||||
<a href="postfix.1.html">postfix(1)</a>, mail system control
|
||||
<a href="postqueue.1.html">postqueue(1)</a>, mail queue control
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README_FILES</b>
|
||||
|
@ -31,7 +31,7 @@ SHOWQ(8) SHOWQ(8)
|
||||
None. The <a href="showq.8.html"><b>showq</b>(8)</a> daemon does not interact with the outside world.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>CONFIGURATION PARAMETERS</b>
|
||||
Changes to <a href="postconf.5.html"><b>main.cf</b></a> are picked up automatically as <a href="showq.8.html"><b>showq</b>(8)</a> processes
|
||||
@ -104,6 +104,7 @@ SHOWQ(8) SHOWQ(8)
|
||||
<a href="qmgr.8.html">qmgr(8)</a>, queue manager
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>LICENSE</b>
|
||||
|
@ -112,9 +112,9 @@ SMTP(8) SMTP(8)
|
||||
<a href="http://tools.ietf.org/html/rfc7672">RFC 7672</a> (SMTP security via opportunistic DANE TLS)
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8). Corrupted message
|
||||
files are marked so that the queue manager can move them to the <b>corrupt</b>
|
||||
queue for further inspection.
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
Corrupted message files are marked so that the queue manager can move
|
||||
them to the <b>corrupt</b> queue for further inspection.
|
||||
|
||||
Depending on the setting of the <b><a href="postconf.5.html#notify_classes">notify_classes</a></b> parameter, the postmas-
|
||||
ter is notified of bounces, protocol problems, and of other trouble.
|
||||
@ -913,6 +913,7 @@ SMTP(8) SMTP(8)
|
||||
<a href="master.5.html">master(5)</a>, generic daemon options
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="tlsmgr.8.html">tlsmgr(8)</a>, TLS session and PRNG management
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README FILES</b>
|
||||
|
@ -63,7 +63,7 @@ SMTPD(8) SMTPD(8)
|
||||
<a href="http://tools.ietf.org/html/rfc7505">RFC 7505</a> ("Null MX" No Service Resource Record)
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
Depending on the setting of the <b><a href="postconf.5.html#notify_classes">notify_classes</a></b> parameter, the postmas-
|
||||
ter is notified of bounces, protocol problems, policy violations, and
|
||||
@ -1317,6 +1317,7 @@ SMTPD(8) SMTPD(8)
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="master.5.html">master(5)</a>, generic daemon options
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README FILES</b>
|
||||
|
@ -51,7 +51,7 @@ SPAWN(8) SPAWN(8)
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
The <a href="spawn.8.html"><b>spawn</b>(8)</a> daemon reports abnormal child exits. Problems are logged
|
||||
to <b>syslogd</b>(8).
|
||||
to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>SECURITY</b>
|
||||
This program needs root privilege in order to execute external commands
|
||||
@ -129,6 +129,7 @@ SPAWN(8) SPAWN(8)
|
||||
<b>SEE ALSO</b>
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>LICENSE</b>
|
||||
|
@ -50,7 +50,7 @@ TLSMGR(8) TLSMGR(8)
|
||||
Postfix-owned <b><a href="postconf.5.html#data_directory">data_directory</a></b>, and a warning is logged.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to the syslog daemon.
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>BUGS</b>
|
||||
There is no automatic means to limit the number of entries in the TLS
|
||||
@ -160,6 +160,7 @@ TLSMGR(8) TLSMGR(8)
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="master.5.html">master(5)</a>, generic daemon options
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README FILES</b>
|
||||
|
@ -45,7 +45,7 @@ TLSPROXY(8) TLSPROXY(8)
|
||||
fixed low privilege.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>CONFIGURATION PARAMETERS</b>
|
||||
Changes to <a href="postconf.5.html"><b>main.cf</b></a> are not picked up automatically, as <a href="tlsproxy.8.html"><b>tlsproxy</b>(8)</a> pro-
|
||||
@ -296,7 +296,8 @@ TLSPROXY(8) TLSPROXY(8)
|
||||
<a href="postscreen.8.html">postscreen(8)</a>, Postfix zombie blocker
|
||||
<a href="smtpd.8.html">smtpd(8)</a>, Postfix SMTP server
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
syslogd(5), system logging
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>LICENSE</b>
|
||||
The Secure Mailer license must be distributed with this software.
|
||||
|
@ -51,7 +51,7 @@ BOUNCE(8) BOUNCE(8)
|
||||
<a href="http://tools.ietf.org/html/rfc6533">RFC 6533</a> (Internationalized Delivery Status Notifications)
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>CONFIGURATION PARAMETERS</b>
|
||||
Changes to <a href="postconf.5.html"><b>main.cf</b></a> are picked up automatically, as <a href="bounce.8.html"><b>bounce</b>(8)</a> processes
|
||||
@ -164,6 +164,7 @@ BOUNCE(8) BOUNCE(8)
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="master.5.html">master(5)</a>, generic daemon options
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>LICENSE</b>
|
||||
|
@ -73,7 +73,7 @@ TRIVIAL-REWRITE(8) TRIVIAL-REWRITE(8)
|
||||
fixed low privilege in a chrooted environment.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>CONFIGURATION PARAMETERS</b>
|
||||
On busy mail systems a long time may pass before a <a href="postconf.5.html"><b>main.cf</b></a> change
|
||||
@ -308,6 +308,7 @@ TRIVIAL-REWRITE(8) TRIVIAL-REWRITE(8)
|
||||
<a href="transport.5.html">transport(5)</a>, transport table format
|
||||
<a href="relocated.5.html">relocated(5)</a>, format of the "user has moved" table
|
||||
<a href="master.8.html">master(8)</a>, process manager
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README FILES</b>
|
||||
|
@ -58,7 +58,7 @@ VERIFY(8) VERIFY(8)
|
||||
warning is logged.
|
||||
|
||||
<b>DIAGNOSTICS</b>
|
||||
Problems and transactions are logged to <b>syslogd</b>(8).
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
|
||||
<b>BUGS</b>
|
||||
Address verification probe messages add additional traffic to the mail
|
||||
@ -214,7 +214,8 @@ VERIFY(8) VERIFY(8)
|
||||
<a href="smtpd.8.html">smtpd(8)</a>, Postfix SMTP server
|
||||
<a href="cleanup.8.html">cleanup(8)</a>, enqueue Postfix message
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
syslogd(5), system logging
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README FILES</b>
|
||||
<a href="ADDRESS_VERIFICATION_README.html">ADDRESS_VERIFICATION_README</a>, address verification howto
|
||||
|
@ -125,9 +125,9 @@ VIRTUAL(8) VIRTUAL(8)
|
||||
over disk quota. In all other cases, mail for an existing recipient is
|
||||
deferred and a warning is logged.
|
||||
|
||||
Problems and transactions are logged to <b>syslogd</b>(8). Corrupted message
|
||||
files are marked so that the queue manager can move them to the <b>corrupt</b>
|
||||
queue afterwards.
|
||||
Problems and transactions are logged to <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a>.
|
||||
Corrupted message files are marked so that the queue manager can move
|
||||
them to the <b>corrupt</b> queue afterwards.
|
||||
|
||||
Depending on the setting of the <b><a href="postconf.5.html#notify_classes">notify_classes</a></b> parameter, the postmas-
|
||||
ter is notified of bounces and of other trouble.
|
||||
@ -283,6 +283,7 @@ VIRTUAL(8) VIRTUAL(8)
|
||||
<a href="qmgr.8.html">qmgr(8)</a>, queue manager
|
||||
<a href="bounce.8.html">bounce(8)</a>, delivery status reports
|
||||
<a href="postconf.5.html">postconf(5)</a>, configuration parameters
|
||||
<a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
|
||||
syslogd(8), system logging
|
||||
|
||||
<b>README_FILES</b>
|
||||
|
@ -155,7 +155,7 @@ The name of the alias database source file when creating a database.
|
||||
.ad
|
||||
.fi
|
||||
Problems are logged to the standard error stream and to
|
||||
\fBsyslogd\fR(8). No output means that
|
||||
\fBsyslogd\fR(8) or \fBpostlogd\fR(8). No output means that
|
||||
no problems were detected. Duplicate entries are skipped and are
|
||||
flagged with a warning.
|
||||
|
||||
@ -221,6 +221,7 @@ postconf(1), supported database types
|
||||
postconf(5), configuration parameters
|
||||
postmap(1), create/update/query lookup tables
|
||||
newaliases(1), Sendmail compatibility interface.
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "README FILES"
|
||||
.na
|
||||
|
@ -40,7 +40,8 @@ it can connect to Postfix daemon processes.
|
||||
.ad
|
||||
.fi
|
||||
Fatal errors: malformed input, I/O error, out of memory. Problems
|
||||
are logged to \fBsyslogd\fR(8) and to the standard error stream.
|
||||
are logged to \fBsyslogd\fR(8) or \fBpostlogd\fR(8) and to
|
||||
the standard error stream.
|
||||
When the input is incomplete, or when the process receives a HUP,
|
||||
INT, QUIT or TERM signal, the queue file is deleted.
|
||||
.SH "ENVIRONMENT"
|
||||
@ -104,6 +105,7 @@ command (and with the privileged \fBpostdrop\fR(1) helper command).
|
||||
.nf
|
||||
sendmail(1), compatibility interface
|
||||
postconf(5), configuration parameters
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "LICENSE"
|
||||
.na
|
||||
|
@ -23,7 +23,8 @@ line as one record. If no \fItext\fR is specified on the command
|
||||
line, \fBpostlog\fR(1) reads from standard input and logs each input
|
||||
line as one record.
|
||||
|
||||
By default, logging is sent to \fBsyslogd\fR(8); when the
|
||||
By default, logging is sent to \fBsyslogd\fR(8) or
|
||||
\fBpostlogd\fR(8); when the
|
||||
standard error stream is connected to a terminal, logging
|
||||
is sent there as well.
|
||||
|
||||
@ -87,8 +88,8 @@ The name of the \fBpostlogd\fR(8) service entry in master.cf.
|
||||
.na
|
||||
.nf
|
||||
postconf(5), configuration parameters
|
||||
syslogd(8), syslog daemon
|
||||
postlogd(8), internal logging service
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "LICENSE"
|
||||
.na
|
||||
.nf
|
||||
|
@ -242,7 +242,7 @@ The name of the lookup table source file when rebuilding a database.
|
||||
.ad
|
||||
.fi
|
||||
Problems are logged to the standard error stream and to
|
||||
\fBsyslogd\fR(8).
|
||||
\fBsyslogd\fR(8) or \fBpostlogd\fR(8).
|
||||
No output means that no problems were detected. Duplicate entries are
|
||||
skipped and are flagged with a warning.
|
||||
|
||||
@ -297,6 +297,7 @@ records, so that, for example, "smtpd" becomes "prefix/smtpd".
|
||||
postalias(1), create/update/query alias database
|
||||
postconf(1), supported database types
|
||||
postconf(5), configuration parameters
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "README FILES"
|
||||
.na
|
||||
|
@ -151,8 +151,8 @@ RFC 7159 (JSON notation)
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems are logged to \fBsyslogd\fR(8) and to the standard error
|
||||
stream.
|
||||
Problems are logged to \fBsyslogd\fR(8) or \fBpostlogd\fR(8),
|
||||
and to the standard error stream.
|
||||
.SH "ENVIRONMENT"
|
||||
.na
|
||||
.nf
|
||||
@ -223,6 +223,8 @@ showq(8), list mail queue
|
||||
flush(8), fast flush service
|
||||
sendmail(1), Sendmail\-compatible user interface
|
||||
postsuper(1), privileged queue operations
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "README FILES"
|
||||
.na
|
||||
.nf
|
||||
|
@ -208,12 +208,13 @@ options make the software increasingly verbose.
|
||||
.ad
|
||||
.fi
|
||||
Problems are reported to the standard error stream and to
|
||||
\fBsyslogd\fR(8).
|
||||
\fBsyslogd\fR(8) or \fBpostlogd\fR(8).
|
||||
|
||||
\fBpostsuper\fR(1) reports the number of messages deleted with \fB\-d\fR,
|
||||
the number of messages requeued with \fB\-r\fR, and the number of
|
||||
messages whose queue file name was fixed with \fB\-s\fR. The report
|
||||
is written to the standard error stream and to \fBsyslogd\fR(8).
|
||||
is written to the standard error stream and to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
.SH "ENVIRONMENT"
|
||||
.na
|
||||
.nf
|
||||
@ -264,6 +265,8 @@ Enable long, non\-repeating, queue IDs (queue file names).
|
||||
.nf
|
||||
sendmail(1), Sendmail\-compatible user interface
|
||||
postqueue(1), unprivileged queue operations
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "LICENSE"
|
||||
.na
|
||||
.nf
|
||||
|
@ -265,8 +265,8 @@ inputs.
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems are logged to \fBsyslogd\fR(8) and to the standard error
|
||||
stream.
|
||||
Problems are logged to \fBsyslogd\fR(8) or \fBpostlogd\fR(8),
|
||||
and to the standard error stream.
|
||||
.SH "ENVIRONMENT"
|
||||
.na
|
||||
.nf
|
||||
@ -441,6 +441,7 @@ postalias(1), create/update/query alias database
|
||||
postdrop(1), mail posting utility
|
||||
postfix(1), mail system control
|
||||
postqueue(1), mail queue control
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "README_FILES"
|
||||
.na
|
||||
|
@ -3750,9 +3750,9 @@ substitutions in regular expression maps.
|
||||
This feature is available in Postfix 2.3 and later.
|
||||
.SH maillog_file (default: empty)
|
||||
The name of an optional logfile that is written by the Postfix
|
||||
\fBpostlogd\fR(8) service. A non\-empty value disables logging to \fBsyslogd\fR(8).
|
||||
Specify "/dev/stdout" for logging to standard output. Stdout logging
|
||||
requires that Postfix is started with "postfix start\-fg".
|
||||
\fBpostlogd\fR(8) service. A non\-empty value selects logging to \fBsyslogd\fR(8).
|
||||
Specify "/dev/stdout" to select logging to standard output. Stdout
|
||||
logging requires that Postfix is started with "postfix start\-fg".
|
||||
.PP
|
||||
Note 1: The maillog_file parameter value must contain a prefix
|
||||
that is specified with the maillog_file_prefixes parameter.
|
||||
@ -3764,8 +3764,8 @@ parameters and command\-line options.
|
||||
This feature is available in Postfix 3.4 and later.
|
||||
.SH maillog_file_compressor (default: gzip)
|
||||
The program to run after rotating $maillog_file with "postfix
|
||||
logrotate". The command is run with the rotated file as its first
|
||||
argument.
|
||||
logrotate". The command is run with the rotated logfile name as its
|
||||
first argument.
|
||||
.PP
|
||||
This feature is available in Postfix 3.4 and later.
|
||||
.SH maillog_file_prefixes (default: /var, /dev/stdout)
|
||||
|
@ -185,7 +185,8 @@ the time unit over which state is kept.
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
|
||||
Upon exit, and every \fBanvil_status_update_time\fR
|
||||
seconds, the server logs the maximal count and rate values measured,
|
||||
|
@ -54,7 +54,8 @@ RFC 6533 (Internationalized Delivery Status Notifications)
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
.SH "CONFIGURATION PARAMETERS"
|
||||
.na
|
||||
.nf
|
||||
@ -149,6 +150,7 @@ qmgr(8), queue manager
|
||||
postconf(5), configuration parameters
|
||||
master(5), generic daemon options
|
||||
master(8), process manager
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "LICENSE"
|
||||
.na
|
||||
|
@ -64,7 +64,8 @@ RFC 5322 (Internet Message Format)
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
.SH BUGS
|
||||
.ad
|
||||
.fi
|
||||
@ -286,7 +287,7 @@ Optional list of domains whose subdomain structure will be stripped
|
||||
off in email addresses.
|
||||
.IP "\fBmasquerade_exceptions (empty)\fR"
|
||||
Optional list of user names that are not subjected to address
|
||||
masquerading, even when their address matches $masquerade_domains.
|
||||
masquerading, even when their addresses match $masquerade_domains.
|
||||
.IP "\fBpropagate_unmatched_extensions (canonical, virtual)\fR"
|
||||
What address lookup tables copy an address extension from the lookup
|
||||
key to the lookup result.
|
||||
@ -448,6 +449,7 @@ virtual(5), virtual alias lookup table format
|
||||
postconf(5), configuration parameters
|
||||
master(5), generic daemon options
|
||||
master(8), process manager
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "README FILES"
|
||||
.na
|
||||
|
@ -43,7 +43,8 @@ RFC 3463 (Enhanced Status Codes)
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
|
||||
Depending on the setting of the \fBnotify_classes\fR parameter,
|
||||
the postmaster is notified of bounces and of other trouble.
|
||||
@ -103,6 +104,7 @@ error(8), Postfix error delivery agent
|
||||
postconf(5), configuration parameters
|
||||
master(5), generic daemon options
|
||||
master(8), process manager
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "LICENSE"
|
||||
.na
|
||||
|
@ -34,7 +34,8 @@ Finally, the \fBdnsblog\fR(8) server closes the connection.
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
.SH "CONFIGURATION PARAMETERS"
|
||||
.na
|
||||
.nf
|
||||
@ -79,7 +80,8 @@ The master.cf service name of a Postfix daemon process.
|
||||
.nf
|
||||
smtpd(8), Postfix SMTP server
|
||||
postconf(5), configuration parameters
|
||||
syslogd(5), system logging
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "LICENSE"
|
||||
.na
|
||||
.nf
|
||||
|
@ -44,7 +44,8 @@ RFC 3463 (Enhanced Status Codes)
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
|
||||
Depending on the setting of the \fBnotify_classes\fR parameter,
|
||||
the postmaster is notified of bounces and of other trouble.
|
||||
@ -113,6 +114,7 @@ discard(8), Postfix discard delivery agent
|
||||
postconf(5), configuration parameters
|
||||
master(5), generic daemon options
|
||||
master(8), process manager
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "LICENSE"
|
||||
.na
|
||||
|
@ -63,7 +63,8 @@ The fast flush server can run chrooted at fixed low privilege.
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
.SH BUGS
|
||||
.ad
|
||||
.fi
|
||||
@ -146,6 +147,7 @@ qmgr(8), queue manager
|
||||
postconf(5), configuration parameters
|
||||
master(5), generic daemon options
|
||||
master(8), process manager
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "README FILES"
|
||||
.na
|
||||
|
@ -340,7 +340,8 @@ RFC 3463 (Enhanced status codes)
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
Corrupted message files are marked so that the queue
|
||||
manager can move them to the \fBcorrupt\fR queue afterwards.
|
||||
|
||||
@ -620,6 +621,7 @@ postalias(1), create/update alias database
|
||||
aliases(5), format of alias database
|
||||
postconf(5), configuration parameters
|
||||
master(5), generic daemon options
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "LICENSE"
|
||||
.na
|
||||
|
@ -91,7 +91,8 @@ processes to finish what they are doing.
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems are reported to \fBsyslogd\fR(8). The exit status
|
||||
Problems are reported to \fBsyslogd\fR(8) or \fBpostlogd\fR(8).
|
||||
The exit status
|
||||
is non\-zero in case of problems, including problems while
|
||||
initializing as a master daemon process in the background.
|
||||
.SH "ENVIRONMENT"
|
||||
@ -198,6 +199,7 @@ qmgr(8), queue manager
|
||||
verify(8), address verification
|
||||
master(5), master.cf configuration file syntax
|
||||
postconf(5), main.cf configuration file syntax
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "LICENSE"
|
||||
.na
|
||||
|
@ -147,7 +147,8 @@ privilege in a chrooted environment.
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to the \fBsyslog\fR(8) daemon.
|
||||
Problems and transactions are logged to the \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8) daemon.
|
||||
Corrupted message files are saved to the \fBcorrupt\fR queue
|
||||
for further inspection.
|
||||
|
||||
@ -301,8 +302,8 @@ bounce_queue_lifetime limit.
|
||||
Available in Postfix version 2.5 and later:
|
||||
.IP "\fBdefault_destination_rate_delay (0s)\fR"
|
||||
The default amount of delay that is inserted between individual
|
||||
deliveries to the same destination; the resulting behavior depends
|
||||
on the value of the corresponding per\-destination recipient limit.
|
||||
message deliveries to the same destination and over the same message
|
||||
delivery transport.
|
||||
.IP "\fBtransport_destination_rate_delay ($default_destination_rate_delay)\fR"
|
||||
A transport\-specific override for the default_destination_rate_delay
|
||||
parameter value, where \fItransport\fR is the master.cf name of
|
||||
@ -311,8 +312,8 @@ the message delivery transport.
|
||||
Available in Postfix version 3.1 and later:
|
||||
.IP "\fBdefault_transport_rate_delay (0s)\fR"
|
||||
The default amount of delay that is inserted between individual
|
||||
deliveries over the same message delivery transport, regardless of
|
||||
destination.
|
||||
message deliveries over the same message delivery transport,
|
||||
regardless of destination.
|
||||
.IP "\fBtransport_transport_rate_delay ($default_transport_rate_delay)\fR"
|
||||
A transport\-specific override for the default_transport_rate_delay
|
||||
parameter value, where the initial \fItransport\fR in the parameter
|
||||
@ -387,6 +388,7 @@ bounce(8), delivery status reports
|
||||
postconf(5), configuration parameters
|
||||
master(5), generic daemon options
|
||||
master(8), process manager
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "README FILES"
|
||||
.na
|
||||
|
@ -39,7 +39,8 @@ that is sent to its public service endpoint.
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
.SH BUGS
|
||||
.ad
|
||||
.fi
|
||||
@ -113,6 +114,7 @@ postdrop(1), mail posting agent
|
||||
postconf(5), configuration parameters
|
||||
master(5), generic daemon options
|
||||
master(8), process manager
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "LICENSE"
|
||||
.na
|
||||
|
@ -345,7 +345,8 @@ delivery status notifications (Postfix 3.0 and later).
|
||||
This command output is not examined for the presence of an
|
||||
enhanced status code.
|
||||
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
Corrupted message files are marked so that the queue manager
|
||||
can move them to the \fBcorrupt\fR queue for further inspection.
|
||||
.SH "SECURITY"
|
||||
@ -456,6 +457,7 @@ bounce(8), delivery status reports
|
||||
postconf(5), configuration parameters
|
||||
master(5), generic daemon options
|
||||
master(8), process manager
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "LICENSE"
|
||||
.na
|
||||
|
@ -70,7 +70,17 @@ before it is terminated by a built\-in watchdog timer.
|
||||
.na
|
||||
.nf
|
||||
postconf(5), configuration parameters
|
||||
syslogd(5), system logging
|
||||
syslogd(8), system logging
|
||||
.SH "README_FILES"
|
||||
.na
|
||||
.nf
|
||||
.ad
|
||||
.fi
|
||||
Use "\fBpostconf readme_directory\fR" or
|
||||
"\fBpostconf html_directory\fR" to locate this information.
|
||||
.na
|
||||
.nf
|
||||
MAILLOG_README, Postfix logging to file or stdout
|
||||
.SH "LICENSE"
|
||||
.na
|
||||
.nf
|
||||
|
@ -79,7 +79,8 @@ RFC 5321 (SMTP protocol, including multi\-line 220 banners)
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
.SH BUGS
|
||||
.ad
|
||||
.fi
|
||||
@ -415,6 +416,7 @@ The master.cf service name of a Postfix daemon process.
|
||||
smtpd(8), Postfix SMTP server
|
||||
tlsproxy(8), Postfix TLS proxy server
|
||||
dnsblog(8), DNS black/whitelist logger
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "README FILES"
|
||||
.na
|
||||
|
@ -136,7 +136,8 @@ does not match the provider of its content.
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
.SH BUGS
|
||||
.ad
|
||||
.fi
|
||||
|
@ -151,7 +151,8 @@ privilege in a chrooted environment.
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to the syslog daemon.
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
Corrupted message files are saved to the \fBcorrupt\fR queue
|
||||
for further inspection.
|
||||
|
||||
@ -365,8 +366,8 @@ bounce_queue_lifetime limit.
|
||||
Available in Postfix version 2.5 and later:
|
||||
.IP "\fBdefault_destination_rate_delay (0s)\fR"
|
||||
The default amount of delay that is inserted between individual
|
||||
deliveries to the same destination; the resulting behavior depends
|
||||
on the value of the corresponding per\-destination recipient limit.
|
||||
message deliveries to the same destination and over the same message
|
||||
delivery transport.
|
||||
.IP "\fBtransport_destination_rate_delay ($default_destination_rate_delay)\fR"
|
||||
A transport\-specific override for the default_destination_rate_delay
|
||||
parameter value, where \fItransport\fR is the master.cf name of
|
||||
@ -375,8 +376,8 @@ the message delivery transport.
|
||||
Available in Postfix version 3.1 and later:
|
||||
.IP "\fBdefault_transport_rate_delay (0s)\fR"
|
||||
The default amount of delay that is inserted between individual
|
||||
deliveries over the same message delivery transport, regardless of
|
||||
destination.
|
||||
message deliveries over the same message delivery transport,
|
||||
regardless of destination.
|
||||
.IP "\fBtransport_transport_rate_delay ($default_transport_rate_delay)\fR"
|
||||
A transport\-specific override for the default_transport_rate_delay
|
||||
parameter value, where the initial \fItransport\fR in the parameter
|
||||
@ -451,6 +452,7 @@ bounce(8), delivery status reports
|
||||
postconf(5), configuration parameters
|
||||
master(5), generic daemon options
|
||||
master(8), process manager
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "README FILES"
|
||||
.na
|
||||
|
@ -31,7 +31,8 @@ run chrooted at fixed low privilege.
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
.SH BUGS
|
||||
.ad
|
||||
.fi
|
||||
@ -174,6 +175,7 @@ The master.cf service name of a Postfix daemon process.
|
||||
http://cr.yp.to/proto/qmqp.html, QMQP protocol
|
||||
cleanup(8), message canonicalization
|
||||
master(8), process manager
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "README FILES"
|
||||
.na
|
||||
|
@ -73,7 +73,8 @@ not be used to store information that is security sensitive.
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
.SH BUGS
|
||||
.ad
|
||||
.fi
|
||||
@ -141,6 +142,7 @@ The master.cf service name of a Postfix daemon process.
|
||||
smtp(8), SMTP client
|
||||
postconf(5), configuration parameters
|
||||
master(8), process manager
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "README FILES"
|
||||
.na
|
||||
|
@ -38,7 +38,8 @@ outside world.
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
.SH "CONFIGURATION PARAMETERS"
|
||||
.na
|
||||
.nf
|
||||
@ -102,6 +103,7 @@ cleanup(8), canonicalize and enqueue mail
|
||||
qmgr(8), queue manager
|
||||
postconf(5), configuration parameters
|
||||
master(8), process manager
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "LICENSE"
|
||||
.na
|
||||
|
@ -116,7 +116,8 @@ RFC 7672 (SMTP security via opportunistic DANE TLS)
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
Corrupted message files are marked so that the queue manager can
|
||||
move them to the \fBcorrupt\fR queue for further inspection.
|
||||
|
||||
@ -796,6 +797,7 @@ postconf(5), configuration parameters
|
||||
master(5), generic daemon options
|
||||
master(8), process manager
|
||||
tlsmgr(8), TLS session and PRNG management
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "README FILES"
|
||||
.na
|
||||
|
@ -70,7 +70,8 @@ RFC 7505 ("Null MX" No Service Resource Record)
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
|
||||
Depending on the setting of the \fBnotify_classes\fR parameter,
|
||||
the postmaster is notified of bounces, protocol problems,
|
||||
@ -1144,6 +1145,7 @@ verify(8), address verification service
|
||||
postconf(5), configuration parameters
|
||||
master(5), generic daemon options
|
||||
master(8), process manager
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "README FILES"
|
||||
.na
|
||||
|
@ -55,7 +55,7 @@ replaced by a more structural solution.
|
||||
.ad
|
||||
.fi
|
||||
The \fBspawn\fR(8) daemon reports abnormal child exits.
|
||||
Problems are logged to \fBsyslogd\fR(8).
|
||||
Problems are logged to \fBsyslogd\fR(8) or \fBpostlogd\fR(8).
|
||||
.SH "SECURITY"
|
||||
.na
|
||||
.nf
|
||||
@ -134,6 +134,7 @@ The master.cf service name of a Postfix daemon process.
|
||||
.nf
|
||||
postconf(5), configuration parameters
|
||||
master(8), process manager
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "LICENSE"
|
||||
.na
|
||||
|
@ -59,7 +59,8 @@ is logged.
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to the syslog daemon.
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
.SH BUGS
|
||||
.ad
|
||||
.fi
|
||||
@ -164,6 +165,7 @@ smtpd(8), Postfix SMTP server
|
||||
postconf(5), configuration parameters
|
||||
master(5), generic daemon options
|
||||
master(8), process manager
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "README FILES"
|
||||
.na
|
||||
|
@ -57,7 +57,8 @@ can be run chrooted at fixed low privilege.
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
.SH "CONFIGURATION PARAMETERS"
|
||||
.na
|
||||
.nf
|
||||
@ -276,7 +277,8 @@ The master.cf service name of a Postfix daemon process.
|
||||
postscreen(8), Postfix zombie blocker
|
||||
smtpd(8), Postfix SMTP server
|
||||
postconf(5), configuration parameters
|
||||
syslogd(5), system logging
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "LICENSE"
|
||||
.na
|
||||
.nf
|
||||
|
@ -81,7 +81,8 @@ It can run at a fixed low privilege in a chrooted environment.
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
.SH "CONFIGURATION PARAMETERS"
|
||||
.na
|
||||
.nf
|
||||
@ -292,6 +293,7 @@ postconf(5), configuration parameters
|
||||
transport(5), transport table format
|
||||
relocated(5), format of the "user has moved" table
|
||||
master(8), process manager
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "README FILES"
|
||||
.na
|
||||
|
@ -65,7 +65,8 @@ non\-Postfix directory is redirected to the Postfix\-owned
|
||||
.SH DIAGNOSTICS
|
||||
.ad
|
||||
.fi
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
.SH BUGS
|
||||
.ad
|
||||
.fi
|
||||
@ -218,7 +219,8 @@ The master.cf service name of a Postfix daemon process.
|
||||
smtpd(8), Postfix SMTP server
|
||||
cleanup(8), enqueue Postfix message
|
||||
postconf(5), configuration parameters
|
||||
syslogd(5), system logging
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "README FILES"
|
||||
.na
|
||||
.nf
|
||||
|
@ -157,7 +157,8 @@ Mail bounces when the recipient has no mailbox or when the
|
||||
recipient is over disk quota. In all other cases, mail for
|
||||
an existing recipient is deferred and a warning is logged.
|
||||
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
or \fBpostlogd\fR(8).
|
||||
Corrupted message files are marked so that the queue
|
||||
manager can move them to the \fBcorrupt\fR queue afterwards.
|
||||
|
||||
@ -303,6 +304,7 @@ The master.cf service name of a Postfix daemon process.
|
||||
qmgr(8), queue manager
|
||||
bounce(8), delivery status reports
|
||||
postconf(5), configuration parameters
|
||||
postlogd(8), Postfix logging
|
||||
syslogd(8), system logging
|
||||
.SH "README_FILES"
|
||||
.na
|
||||
|
@ -71,9 +71,20 @@ debugger</a>
|
||||
|
||||
<h2><a name="logging">Look for obvious signs of trouble</a></h2>
|
||||
|
||||
<p> Postfix logs all failed and successful deliveries to a logfile.
|
||||
The file is usually called /var/log/maillog or /var/log/mail; the
|
||||
exact pathname is defined in the /etc/syslog.conf file. </p>
|
||||
<p> Postfix logs all failed and successful deliveries to a logfile. </p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li> <p> When Postfix uses syslog logging (the default), the file
|
||||
is usually called /var/log/maillog, /var/log/mail, or something
|
||||
similar; the exact pathname is configured in a file called
|
||||
/etc/syslog.conf, /etc/rsyslog.conf, or something similar. </p>
|
||||
|
||||
<li> <p> When Postfix uses its own logging system (see MAILLOG_README),
|
||||
the location of the logfile is configured with the Postfix maillog_file
|
||||
parameter. </p>
|
||||
|
||||
</ul>
|
||||
|
||||
<p> When Postfix does not receive or deliver mail, the first order
|
||||
of business is to look for errors that prevent Postfix from working
|
||||
|
183
postfix/proto/MAILLOG_README.html
Normal file
183
postfix/proto/MAILLOG_README.html
Normal file
@ -0,0 +1,183 @@
|
||||
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
<title>Postfix logging to file or stdout</title>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1><img src="postfix-logo.jpg" width="203" height="98" ALT="">Postfix
|
||||
logging to file or stdout</h1>
|
||||
|
||||
<hr>
|
||||
|
||||
<h2>Overview </h2>
|
||||
|
||||
<p> Postfix supports it own logging system as an alternative to
|
||||
syslog (which remains the default). This is available with Postfix
|
||||
version 3.4 or later. </p>
|
||||
|
||||
<p> Topics covered in this document: </p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><a href="#log-to-file">Configuring logging to file</a>
|
||||
|
||||
<li><a href="#log-to-stdout">Configuring logging to stdout</a>
|
||||
|
||||
<li><a href="#logrotate">Rotating logs </a>
|
||||
|
||||
<li><a href="#limitations">Limitations</a>
|
||||
|
||||
</ul>
|
||||
|
||||
<h2> <a name="log-to-file"> Configuring logging to file </a> </h2>
|
||||
|
||||
<p> Logging to file solves a usability problem for MacOS, and
|
||||
eliminates multiple problems for systemd-based systems. </p>
|
||||
|
||||
<ol>
|
||||
|
||||
<li> <p> Add the following line to master.cf if not already present
|
||||
(note: there must be no whitespace at the start of the line): </p>
|
||||
|
||||
<blockquote>
|
||||
<pre>
|
||||
postlog unix-dgram n - n - 1 postlogd
|
||||
</pre>
|
||||
</blockquote>
|
||||
|
||||
<p> Note: the service type "<b>unix-dgram</b>" was introduced with
|
||||
Postfix 3.4. Remove the above line before backing out to an older
|
||||
Postfix version. </p>
|
||||
|
||||
<li> <p> Configure Postfix to write logging, to, for example,
|
||||
/var/log/postfix.log. See also the "<a href="#logrotate">Logfile
|
||||
rotation</a>" section below for logfile management. </p>
|
||||
|
||||
<blockquote>
|
||||
<pre>
|
||||
# postfix stop
|
||||
# postconf maillog_file=/var/log/postfix.log
|
||||
# postfix start
|
||||
</pre>
|
||||
</blockquote>
|
||||
|
||||
<p> By default, the logfile name must start with "/var" or "/dev/stdout"
|
||||
(the list of allowed prefixes is configured with the maillog_file_prefixes
|
||||
parameter). This safety mechanism limits the damage from a single
|
||||
configuration mistake. </p>
|
||||
|
||||
</ol>
|
||||
|
||||
<h2> <a name="log-to-stdout"> Configuring logging to stdout </a> </h2>
|
||||
|
||||
<p> Logging to stdout is useful when Postfix runs in a container,
|
||||
as it eliminates a syslogd dependency. </p>
|
||||
|
||||
<ol>
|
||||
|
||||
<li> <p> Add the following line to master.cf if not already present (note:
|
||||
there must be no whitespace at the start of the line): </p>
|
||||
|
||||
<blockquote>
|
||||
<pre>
|
||||
postlog unix-dgram n - n - 1 postlogd
|
||||
</pre>
|
||||
</blockquote>
|
||||
|
||||
<p> Note: the service type "<b>unix-dgram</b>" was introduced with
|
||||
Postfix 3.4. Remove the above line before backing out to an older
|
||||
Postfix version. </p>
|
||||
|
||||
<li> <p> Configure main.cf with "maillog_file = /dev/stdout". </p>
|
||||
|
||||
<li> <p> Start Postfix with "<b>postfix start-fg</b>". </p>
|
||||
|
||||
</ol>
|
||||
|
||||
<h2> <a name="logrotate"> Rotating logs </a> </h2>
|
||||
|
||||
<p> The command "<b>postfix logrotate</b>" may be run by hand or
|
||||
by a cronjob. It logs all errors, and reports errors to stderr if
|
||||
run from a terminal. This command implements the following steps:
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li> <p> Rename the current logfile by appending a suffix that
|
||||
contains the date and time. This suffix is configured with the
|
||||
maillog_file_rotate_suffix parameter (default: %Y%M%d-%H%M%S). </p>
|
||||
|
||||
<li> <p> Reload Postfix so that postlogd(8) immediately closes the
|
||||
old logfile. </p>
|
||||
|
||||
<li> <p> After a brief pause, compress the old logfile. The compression
|
||||
program is configured with the maillog_file_compressor parameter
|
||||
(default: gzip). </p>
|
||||
|
||||
</ul>
|
||||
|
||||
<p> Notes: </p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li> <p> This command will not rotate a logfile with pathname under
|
||||
the /dev directory, such as /dev/stdout. </p>
|
||||
|
||||
<li> <p> This command does not (yet) remove old logfiles. </p>
|
||||
|
||||
</ul>
|
||||
|
||||
<h2> <a name="limitations">Limitations</a> </h2>
|
||||
|
||||
<p> Background: </p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li> <p> Postfix consists of a number of daemon programs, and
|
||||
non-daemon programs some of which are used for local mail submission,
|
||||
and some for Postfix management.
|
||||
|
||||
<li> <p> Logging to Postfix logfile or stdout requires the Postfix
|
||||
postlogd(8) service. This ensures that simultaneous logging from
|
||||
different programs will not get mixed up. </p>
|
||||
|
||||
<li> <p> All Postfix programs can log to syslog, but not all programs
|
||||
have sufficient privileges to use the Postfix logging service, and
|
||||
many non-daemon programs must not log to stdout as that would corrupt
|
||||
their output. </p>
|
||||
|
||||
</ul>
|
||||
|
||||
<p> Limitations: </p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li> <p> Non-daemon Postfix programs will log errors to syslogd(8)
|
||||
before they have processed command-line options and main.cf parameters.
|
||||
|
||||
<li> <p> If Postfix is down, the non-daemon programs postfix(1),
|
||||
postsuper(1), postmulti(1), and postlog(1), will log directly to
|
||||
$maillog_file. These programs expect to run with root privileges,
|
||||
for example during Postfix start-up, reload, or shutdown.
|
||||
|
||||
<li> <p> Other non-daemon Postfix programs will never write directly
|
||||
to $maillog_file (also, logging to stdout would interfere with the
|
||||
operation of some of these programs). These programs can log to
|
||||
postlogd(8) if they are run by the super-user, or if their executable
|
||||
file has set-gid permission. Do not set this permission on programs
|
||||
other than postdrop(1) and postqueue(1).
|
||||
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
@ -25,6 +25,7 @@ HTML = ../html/ADDRESS_CLASS_README.html \
|
||||
../html/LDAP_README.html \
|
||||
../html/LINUX_README.html \
|
||||
../html/LOCAL_RECIPIENT_README.html ../html/MAILDROP_README.html \
|
||||
../html/MAILLOG_README.html \
|
||||
../html/LMDB_README.html \
|
||||
../html/MEMCACHE_README.html \
|
||||
../html/MILTER_README.html \
|
||||
@ -70,6 +71,7 @@ README = ../README_FILES/ADDRESS_CLASS_README \
|
||||
../README_FILES/LDAP_README \
|
||||
../README_FILES/LINUX_README \
|
||||
../README_FILES/LOCAL_RECIPIENT_README ../README_FILES/MAILDROP_README \
|
||||
../README_FILES/MAILLOG_README \
|
||||
../README_FILES/LMDB_README \
|
||||
../README_FILES/MEMCACHE_README \
|
||||
../README_FILES/MILTER_README \
|
||||
@ -219,6 +221,9 @@ clobber:
|
||||
../html/MAILDROP_README.html: MAILDROP_README.html
|
||||
$(DETAB) $? | $(POSTLINK) >$@
|
||||
|
||||
../html/MAILLOG_README.html: MAILLOG_README.html
|
||||
$(DETAB) $? | $(POSTLINK) >$@
|
||||
|
||||
../html/LMDB_README.html: LMDB_README.html
|
||||
$(DETAB) $? | $(POSTLINK) >$@
|
||||
|
||||
@ -390,6 +395,9 @@ clobber:
|
||||
../README_FILES/MAILDROP_README: MAILDROP_README.html
|
||||
$(DETAB) $? | $(HT2READ) >$@
|
||||
|
||||
../README_FILES/MAILLOG_README: MAILLOG_README.html
|
||||
$(DETAB) $? | $(HT2READ) >$@
|
||||
|
||||
../README_FILES/LMDB_README: LMDB_README.html
|
||||
$(DETAB) $? | $(HT2READ) >$@
|
||||
|
||||
|
@ -17550,9 +17550,10 @@ parameter. See there for details. </p>
|
||||
%PARAM maillog_file
|
||||
|
||||
<p> The name of an optional logfile that is written by the Postfix
|
||||
postlogd(8) service. A non-empty value disables logging to syslogd(8).
|
||||
Specify "/dev/stdout" for logging to standard output. Stdout logging
|
||||
requires that Postfix is started with "postfix start-fg". </p>
|
||||
postlogd(8) service. A non-empty value selects logging to syslogd(8).
|
||||
Specify "/dev/stdout" to select logging to standard output. Stdout
|
||||
logging requires that Postfix is started with "postfix start-fg".
|
||||
</p>
|
||||
|
||||
<p> Note 1: The maillog_file parameter value must contain a prefix
|
||||
that is specified with the maillog_file_prefixes parameter. </p>
|
||||
@ -17597,8 +17598,8 @@ whitespace. </p>
|
||||
%PARAM maillog_file_compressor gzip
|
||||
|
||||
<p> The program to run after rotating $maillog_file with "postfix
|
||||
logrotate". The command is run with the rotated file as its first
|
||||
argument. </p>
|
||||
logrotate". The command is run with the rotated logfile name as its
|
||||
first argument. </p>
|
||||
|
||||
<p> This feature is available in Postfix 3.4 and later. </p>
|
||||
|
||||
|
@ -165,7 +165,8 @@
|
||||
/* from many remote clients. To reduce memory usage, reduce
|
||||
/* the time unit over which state is kept.
|
||||
/* DIAGNOSTICS
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
/* or \fBpostlogd\fR(8).
|
||||
/*
|
||||
/* Upon exit, and every \fBanvil_status_update_time\fR
|
||||
/* seconds, the server logs the maximal count and rate values measured,
|
||||
|
@ -44,7 +44,8 @@
|
||||
/* RFC 6532 (Internationalized Message Format)
|
||||
/* RFC 6533 (Internationalized Delivery Status Notifications)
|
||||
/* DIAGNOSTICS
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
/* or \fBpostlogd\fR(8).
|
||||
/* CONFIGURATION PARAMETERS
|
||||
/* .ad
|
||||
/* .fi
|
||||
@ -133,6 +134,7 @@
|
||||
/* postconf(5), configuration parameters
|
||||
/* master(5), generic daemon options
|
||||
/* master(8), process manager
|
||||
/* postlogd(8), Postfix logging
|
||||
/* syslogd(8), system logging
|
||||
/* LICENSE
|
||||
/* .ad
|
||||
|
@ -54,7 +54,8 @@
|
||||
/* RFC 3464 (Delivery status notifications)
|
||||
/* RFC 5322 (Internet Message Format)
|
||||
/* DIAGNOSTICS
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
/* or \fBpostlogd\fR(8).
|
||||
/* BUGS
|
||||
/* Table-driven rewriting rules make it hard to express \fBif then
|
||||
/* else\fR and other logical relationships.
|
||||
@ -260,7 +261,7 @@
|
||||
/* off in email addresses.
|
||||
/* .IP "\fBmasquerade_exceptions (empty)\fR"
|
||||
/* Optional list of user names that are not subjected to address
|
||||
/* masquerading, even when their address matches $masquerade_domains.
|
||||
/* masquerading, even when their addresses match $masquerade_domains.
|
||||
/* .IP "\fBpropagate_unmatched_extensions (canonical, virtual)\fR"
|
||||
/* What address lookup tables copy an address extension from the lookup
|
||||
/* key to the lookup result.
|
||||
@ -412,6 +413,7 @@
|
||||
/* postconf(5), configuration parameters
|
||||
/* master(5), generic daemon options
|
||||
/* master(8), process manager
|
||||
/* postlogd(8), Postfix logging
|
||||
/* syslogd(8), system logging
|
||||
/* README FILES
|
||||
/* .ad
|
||||
|
@ -81,7 +81,8 @@
|
||||
/* Autodetection: request SMTPUTF8 support if the message
|
||||
/* contains an UTF8 message header, sender, or recipient.
|
||||
/* DIAGNOSTICS
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
/* or \fBpostlogd\fR(8).
|
||||
/* SEE ALSO
|
||||
/* cleanup(8) cleanup service description.
|
||||
/* cleanup_init(8) cleanup callable interface, initialization
|
||||
@ -94,6 +95,11 @@
|
||||
/* IBM T.J. Watson Research
|
||||
/* P.O. Box 704
|
||||
/* Yorktown Heights, NY 10598, USA
|
||||
/*
|
||||
/* Wietse Venema
|
||||
/* Google, Inc.
|
||||
/* 111 8th Avenue
|
||||
/* New York, NY 10011, USA
|
||||
/*--*/
|
||||
|
||||
/* System library. */
|
||||
|
@ -59,7 +59,8 @@
|
||||
/* cleanup_sig() must be called in case of SIGTERM, in order
|
||||
/* to remove an incomplete queue file.
|
||||
/* DIAGNOSTICS
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
/* or \fBpostlogd\fR(8).
|
||||
/* SEE ALSO
|
||||
/* cleanup_api(3) cleanup callable interface, message processing
|
||||
/* LICENSE
|
||||
|
@ -31,7 +31,8 @@
|
||||
/* STANDARDS
|
||||
/* RFC 3463 (Enhanced Status Codes)
|
||||
/* DIAGNOSTICS
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
/* or \fBpostlogd\fR(8).
|
||||
/*
|
||||
/* Depending on the setting of the \fBnotify_classes\fR parameter,
|
||||
/* the postmaster is notified of bounces and of other trouble.
|
||||
@ -87,6 +88,7 @@
|
||||
/* postconf(5), configuration parameters
|
||||
/* master(5), generic daemon options
|
||||
/* master(8), process manager
|
||||
/* postlogd(8), Postfix logging
|
||||
/* syslogd(8), system logging
|
||||
/* LICENSE
|
||||
/* .ad
|
||||
|
@ -24,7 +24,8 @@
|
||||
/* is no reply, or a negative reply that contains no SOA record.
|
||||
/* Finally, the \fBdnsblog\fR(8) server closes the connection.
|
||||
/* DIAGNOSTICS
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
/* or \fBpostlogd\fR(8).
|
||||
/* CONFIGURATION PARAMETERS
|
||||
/* .ad
|
||||
/* .fi
|
||||
@ -65,7 +66,8 @@
|
||||
/* SEE ALSO
|
||||
/* smtpd(8), Postfix SMTP server
|
||||
/* postconf(5), configuration parameters
|
||||
/* syslogd(5), system logging
|
||||
/* postlogd(8), Postfix logging
|
||||
/* syslogd(8), system logging
|
||||
/* LICENSE
|
||||
/* .ad
|
||||
/* .fi
|
||||
|
@ -32,7 +32,8 @@
|
||||
/* STANDARDS
|
||||
/* RFC 3463 (Enhanced Status Codes)
|
||||
/* DIAGNOSTICS
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
/* or \fBpostlogd\fR(8).
|
||||
/*
|
||||
/* Depending on the setting of the \fBnotify_classes\fR parameter,
|
||||
/* the postmaster is notified of bounces and of other trouble.
|
||||
@ -97,6 +98,7 @@
|
||||
/* postconf(5), configuration parameters
|
||||
/* master(5), generic daemon options
|
||||
/* master(8), process manager
|
||||
/* postlogd(8), Postfix logging
|
||||
/* syslogd(8), system logging
|
||||
/* LICENSE
|
||||
/* .ad
|
||||
|
@ -53,7 +53,8 @@
|
||||
/* talk to the network, and it does not talk to local users.
|
||||
/* The fast flush server can run chrooted at fixed low privilege.
|
||||
/* DIAGNOSTICS
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8).
|
||||
/* Problems and transactions are logged to \fBsyslogd\fR(8)
|
||||
/* or \fBpostlogd\fR(8).
|
||||
/* BUGS
|
||||
/* Fast flush logfiles are truncated only after a "send"
|
||||
/* request, not when mail is actually delivered, and therefore can
|
||||
@ -128,6 +129,7 @@
|
||||
/* postconf(5), configuration parameters
|
||||
/* master(5), generic daemon options
|
||||
/* master(8), process manager
|
||||
/* postlogd(8), Postfix logging
|
||||
/* syslogd(8), system logging
|
||||
/* README FILES
|
||||
/* .ad
|
||||
|
@ -51,7 +51,7 @@
|
||||
/* Arguments:
|
||||
/* .IP size
|
||||
/* Upper bound on the table size; at most \fIsize\fR strings will
|
||||
/* be remembered. Specify a value <= 0 to disable the upper bound.
|
||||
/* be remembered. Specify BH_BOUND_NONE to disable the upper bound.
|
||||
/* .IP flags
|
||||
/* Requests for special processing. Specify the bitwise OR of zero
|
||||
/* or more flags:
|
||||
|
@ -25,6 +25,7 @@ typedef struct {
|
||||
struct HTABLE *table;
|
||||
} BH_TABLE;
|
||||
|
||||
#define BH_BOUND_NONE 0 /* no upper bound */
|
||||
#define BH_FLAG_NONE 0 /* no special processing */
|
||||
#define BH_FLAG_FOLD (1<<0) /* fold case */
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user