From 0abe71af12ac88eed440bb7f5e6324e679ac5cf5 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 18 Apr 2026 13:49:06 +0000 Subject: Update deps; update qmail-remote's doc for tls --- doc/qmail-remote.html | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'doc/qmail-remote.html') diff --git a/doc/qmail-remote.html b/doc/qmail-remote.html index fd8a395..cde8643 100644 --- a/doc/qmail-remote.html +++ b/doc/qmail-remote.html @@ -95,7 +95,9 @@ certificate validation. If the path ends with a slash, like /etc/ssl/certs/< then it is interpreted as a directory containing hashes to the certificates. If it does not, like /etc/ssl/cert.pem, then it is interpreted as a big PEM file containing all the trust anchors. If the file is nonexistent or empty, -or only contains a newline, then STARTTLS is not attempted. +or only contains a newline, then STARTTLS is not attempted. Note that the +trust anchor list is only useful when tlsstrictness is 2 (see below), +but you still need a non-empty list in order to attempt STARTTLS.
clientcert
If this file exists and is nonempty, it must contain the path to a client @@ -118,7 +120,10 @@ STARTTLS command fails. 1 means that qmail-remote will attempt to find a server that supports STARTTLS in order to transmit its e-mail, but will fallback to cleartext if it cannot find any. 2 means that qmail-remote will flat out refuse to send e-mail to servers that do not -support STARTTLS or fail to set it up.
+support STARTTLS or fail to set it up. It will also properly verify certificates, +whereas a value lower than 2 doesn't care if the certificate chain does not begin +with a trusted anchor (since it would eventually fall back on an insecure +transport anyway).

Implementation notes

@@ -163,10 +168,10 @@ exchange is actually handled by a separate binary: shows a qmail-remote-io process under qmail-rspawn instead of the regular qmail-remote, that is normal, it means that qmail-remote has found a suitable server and is transmitting its -data. If there is a +data. If qmail-remote has a qmail-remote-io +child that itself has a s6-tlsc-io -process running as the child of qmail-remote-io, it means that the -connection is happening under TLS. +child, it means that the transfer is happening under TLS. -- cgit v1.3.1