From 27c3fccb483011713613758ef50d55eefe179e93 Mon Sep 17 00:00:00 2001 From: manuel Date: Fri, 14 Feb 2014 14:26:05 +0100 Subject: export TLS-Session to environment --- qmail-smtpd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'qmail-smtpd.c') diff --git a/qmail-smtpd.c b/qmail-smtpd.c index 8f0842b..3360cfe 100644 --- a/qmail-smtpd.c +++ b/qmail-smtpd.c @@ -1351,6 +1351,7 @@ void tls_init() ssl_free(myssl); tls_out("connection failed", err); die_read(); } ssl = myssl; + if (!env_put("SMTPSECURED=1")) die_nomem(); /* populate the protocol string, used in Received */ if (!stralloc_copys(&proto, "ESMTPS (") -- cgit v1.2.3