From df081f7ad4ff0865c6ccd318b7806eb5cfbbd0ed Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 6 Jun 2015 21:43:29 +0100 Subject: [PATCH] Logging: add log_selector items in the default config. Bug 1333 --- doc/doc-docbook/spec.xfpt | 7 +++++++ src/src/configure.default | 7 +++++++ 2 files changed, 14 insertions(+) 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 -- 2.25.1