From cedc6e5894d81ba4b8ede802acb3ec84e5c85d6d Mon Sep 17 00:00:00 2001 From: "Adam D. Barratt" Date: Fri, 27 Sep 2019 06:10:54 +0100 Subject: [PATCH 1/1] eximconf: add debug messages for (remaining) transports Signed-off-by: Adam D. Barratt --- modules/exim/templates/eximconf.erb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 7fc3623be..26ac9778c 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -1517,6 +1517,7 @@ begin transports # directory. (The alternative, which most other unixes use, is to deliver # as the user's own group, into a sticky-bitted directory) local_delivery: + debug_print = "T: local_delivery for $local_part@$domain" driver = appendfile file = /var/mail/${local_part} group = mail @@ -1533,6 +1534,7 @@ local_delivery: # want this to happen only when the pipe fails to complete normally. address_pipe: + debug_print = "T: address_pipe for $local_part@$domain" driver = pipe current_directory = ${home} environment = "EXTENSION=${substr_1:${local_part_suffix}}:\ @@ -1547,10 +1549,12 @@ address_pipe: # mentioned elsewhere in this configuration file. address_file: + debug_print = "T: address_file for $local_part@$domain" driver = appendfile return_path_add address_file_group: + debug_print = "T: address_file_group for $local_part@$domain" driver = appendfile return_path_add mode = 0660 @@ -1573,6 +1577,7 @@ address_file_group: # are passed to address_directory. address_directory: + debug_print = "T: address_directory for $local_part@$domain" driver = appendfile check_string = maildir_format @@ -1584,11 +1589,13 @@ address_directory: # option of the forwardfile director. It has a conventional name, since it # is not actually mentioned elsewhere in this configuration file. address_reply: + debug_print = "T: address_reply for $local_part@$domain" driver = autoreply # This transport is used for delivering messages over SMTP connections. remote_smtp: + debug_print = "T: remote_smtp for $local_part@$domain" driver = smtp connect_timeout = 15s delay_after_cutoff = false @@ -1596,6 +1603,7 @@ remote_smtp: tls_privatekey = /etc/exim4/ssl/thishost.key remote_smtp_single_domain: + debug_print = "T: remote_smtp_single_domain for $local_part@$domain" driver = smtp connect_timeout = 15s delay_after_cutoff = false @@ -1616,12 +1624,14 @@ remote_smtp_smarthost: <%- end -%> # Send the message to procmail procmail_pipe: + debug_print = "T: procmail_pipe for $local_part@$domain" driver = pipe command = /usr/bin/procmail -a ${substr_1:${local_part_suffix}} return_path_add user = ${local_part} bsmtp: + debug_print = "T: bsmtp for $local_part@$domain" driver = appendfile batch_max = 100 file = ${host} @@ -1635,6 +1645,7 @@ bsmtp: <%- if @is_bugsmx -%> bugs_pipe: + debug_print = "T: bugs_pipe for $local_part@$domain" driver = pipe command = /srv/bugs.debian.org/mail/run-procmail environment = "EXTENSION=${substr_1:${local_part_suffix}}:\ -- 2.20.1