dovecot-2.2: lmtp: Added TLS security information to Received: h...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Nov 21 09:17:13 UTC 2014
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");
More information about the dovecot-cvs
mailing list