From: Jeremy Harris Date: Sat, 6 Jun 2015 20:43:29 +0000 (+0100) Subject: Logging: add log_selector items in the default config. Bug 1333 X-Git-Tag: exim-4_86_RC2~12 X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=commitdiff_plain;h=df081f7ad4ff0865c6ccd318b7806eb5cfbbd0ed Logging: add log_selector items in the default config. Bug 1333 --- diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index c6b1e1bb0..8dab2a4d9 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -5598,6 +5598,13 @@ find that they send unqualified addresses. The two commented-out options: show how you can specify hosts that are permitted to send unqualified sender and recipient addresses, respectively. +The &%log_selector%& option is used to increase the detail of logging +over the default: +.code +log_selector = +smtp_protocol_error +smtp_syntax_error \ + +tls_certificate_verified +.endd + The &%percent_hack_domains%& option is also commented out: .code # percent_hack_domains = diff --git a/src/src/configure.default b/src/src/configure.default index c16221fc1..fe08bc243 100644 --- a/src/src/configure.default +++ b/src/src/configure.default @@ -249,6 +249,13 @@ host_lookup = * # and/or qualify_recipient (see above). +# Unless you run a high-volume site you probably want more logging +# detail than the default. Adjust to suit. + +log_selector = +smtp_protocol_error +smtp_syntax_error \ + +tls_certificate_verified + + # If you want Exim to support the "percent hack" for certain domains, # uncomment the following line and provide a list of domains. The "percent # hack" is the feature by which mail addressed to x%y@z (where z is one of