Bug#649600: mainlog should include smtp_confirmation by default

Ian Jackson Ian.Jackson at eu.citrix.com
Tue Nov 22 14:28:42 UTC 2011


Package: exim4-config
Version: 4.72-6+squeeze2

The upstream default logging for exim4 does not, but should, include
"smtp_confirmation".  This log selector refers to the response code
to final dot, ie:

  2011-11-22 14:00:15 1RSqtT-0004mU-HK => ian at davenant.greenend.org.uk
  R=vpn_route T=direct_smtp H=davenant.relativity.greenend.org.uk
  [172.18.45.6] C="250 OK id=1RSqtT-0002Wy-00"
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This is of course important when tracing lost mails.  It was enabled
by default in exim3, but unaccountably not by default in upstream
exim4.

For my own systems, which use the autogenerated, un-split,
configuration, I have done this as follows:

mariner:~> diff -u /etc/exim4/exim4.conf.template{~,}
--- /etc/exim4/exim4.conf.template~     2011-05-12 19:14:59.000000000 +0100
+++ /etc/exim4/exim4.conf.template      2011-11-22 14:19:16.000000000 +0000
@@ -99,7 +99,7 @@
 
 # always log tls_peerdn as we use TLS for outgoing connects by default
 .ifndef MAIN_LOG_SELECTOR
-MAIN_LOG_SELECTOR = +tls_peerdn
+MAIN_LOG_SELECTOR = +tls_peerdn +smtp_confirmation
 .endif
 #####################################################
 ### end main/01_exim4-config_listmacrosdefs
mariner:~>

But it may be better to change this somewhere else (eg, in the exim4
binary and corresponding manpage, or somewhere else in exim4-config).

Thanks,
Ian.





More information about the Pkg-exim4-maintainers mailing list