[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dovecot-cvs
Subject:    dovecot-2.2: lmtp: Added TLS security information to Received: h...
From:       dovecot () dovecot ! org (dovecot at dovecot ! org)
Date:       2014-11-21 9:17:13
Message-ID: hg.1d811ffd1832.1416561433.6920021320469856403 () talvi
[Download RAW message or body]

details:   http://hg.dovecot.org/dovecot-2.2/rev/1d811ffd1832
changeset: 18105:1d811ffd1832
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Nov 21 18:17:00 2014 +0900
description:
lmtp: Added TLS security information to Received: header when STARTTLS was used.

diffstat:

 src/lmtp/commands.c |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 5de5be00b369 -r 1d811ffd1832 src/lmtp/commands.c
--- a/src/lmtp/commands.c	Thu Nov 20 22:03:25 2014 +0900
+++ b/src/lmtp/commands.c	Fri Nov 21 18:17:00 2014 +0900
@@ -1004,7 +1004,12 @@
 	host = net_ip2addr(&client->remote_ip);
 	if (host[0] != '\0')
 		str_printfa(str, " ([%s])", host);
-	str_printfa(str, "\r\n\tby %s ("PACKAGE_NAME") with LMTP id %s",
+	str_append(str, "\r\n");
+	if (client->ssl_iostream != NULL) {
+		str_printfa(str, "\t(using %s)\r\n",
+			    ssl_iostream_get_security_string(client->ssl_iostream));
+	}
+	str_printfa(str, "\tby %s ("PACKAGE_NAME") with LMTP id %s",
 		    client->my_domain, client->state.session_id);
 
 	str_append(str, "\r\n\t");

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic