From 6373687fb1bf6d785ad18581126cc0df0dbc335b Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 4 Jun 2021 20:47:24 +0000 Subject: Doc, and some important optimizations --- doc/smtpd-starttls-proxy-io.html | 99 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 97 insertions(+), 2 deletions(-) (limited to 'doc/smtpd-starttls-proxy-io.html') diff --git a/doc/smtpd-starttls-proxy-io.html b/doc/smtpd-starttls-proxy-io.html index 2bf20ca..d0e8d86 100644 --- a/doc/smtpd-starttls-proxy-io.html +++ b/doc/smtpd-starttls-proxy-io.html @@ -38,8 +38,103 @@ server, and interfaces with it. + +

Environment variables

+ +

+ smtpd-starttls-proxy-io expects to be run under a UCSPI-TLS server such as +s6-ucspitlsd or +sslserver -n. As a +consequence, it expects its environment to contain the following variables: +

+ + + +

+ smtpd-starttls-proxy-io will refuse to run if one of these variables +is nonexistent or contains invalid data. +

+ +

Usage example

+ +

+ You can run a STARTTLS-enabled qmail-smtpd mail receiver on +address hostip port port with the following steps: +

+ + + +
 s6-tcpserver -- hostip port \
+  s6-tcpserver-access -Dl0 -t5000 -- \
+  s6-ucspitlsd -K30000 -- \
+  s6-applyuidgid -Uz -- \
+  smtpd-starttls-proxy-io \
+  qmail-smtpd 
+ + + +

Notes

+ + -- cgit v1.3.1