From b92689d6fc9ca734ea3bc99cbc144d9e244168f4 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 26 Jan 2014 05:23:33 +0000 Subject: [PATCH 1/1] base.m4: Twiddle received lines. Now we don't have the version comment on its own line if we received with TLS. The code's a bit uglier (because of the repeated ${if def:tls_cipher ...}) but the output is much neater. --- base.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/base.m4 b/base.m4 index 75b1c4c..9d08088 100644 --- a/base.m4 +++ b/base.m4 @@ -65,10 +65,11 @@ received_header_text = Received: \ ${if def:sender_helo_name \ {(helo=$sender_helo_name)\n\t}}}}\ by $primary_hostname \ + (Exim $version_number)\ + ${if def:tls_cipher {\n\t} { }}\ ${if def:received_protocol \ {with $received_protocol \ - ${if def:tls_cipher {(cipher=$tls_cipher)\n\t}}}}\ - (Exim $version_number)\n\t\ + ${if def:tls_cipher {(cipher=$tls_cipher)}}}}\n\t\ ${if def:sender_address \ {(envelope-from <$sender_address>\ ${if def:authenticated_id \ -- 2.11.0