From 16d24e0f6e33d4f01742bbf74405081a6bccd5cc Mon Sep 17 00:00:00 2001 From: jmc Date: Fri, 26 Jul 2024 06:24:52 +0000 Subject: [PATCH] - document "ca" in the action ... relay section from philipp plus openbsd at bureaucracy de - within the "ca" section, refer to "listen on" and "action ... relay", which is the actual syntax ok op --- usr.sbin/smtpd/smtpd.conf.5 | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/usr.sbin/smtpd/smtpd.conf.5 b/usr.sbin/smtpd/smtpd.conf.5 index 03f094c010b..3d73b5a0647 100644 --- a/usr.sbin/smtpd/smtpd.conf.5 +++ b/usr.sbin/smtpd/smtpd.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: smtpd.conf.5,v 1.271 2024/03/24 06:22:18 jsg Exp $ +.\" $OpenBSD: smtpd.conf.5,v 1.272 2024/07/26 06:24:52 jmc Exp $ .\" .\" Copyright (c) 2008 Janne Johansson .\" Copyright (c) 2009 Jacek Masiulaniec @@ -17,7 +17,7 @@ .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" .\" -.Dd $Mdocdate: March 24 2024 $ +.Dd $Mdocdate: July 26 2024 $ .Dt SMTPD.CONF 5 .Os .Sh NAME @@ -230,6 +230,14 @@ with higher priority. Operate as a backup mail exchanger delivering messages to any mail exchanger with higher priority than mail exchanger identified as .Ar name . +.It Cm ca Ar caname +For secure connections, +use the certificate authority associated with +.Ar caname +(declared in a +.Ic ca +directive) +to validate the server's identity. .It Cm helo Ar heloname Advertise .Ar heloname @@ -366,7 +374,11 @@ Associate the Certificate Authority (CA) certificate file .Ar cafile with ca entry .Ar caname . -The ca entry can be referenced in listener rules and relay actions. +The ca entry can be referenced in +.Cm listen on +and +.Cm action ... relay +rules. .It Ic filter Ar chain-name Ic chain Brq Ar filter-name Op , Ar ... Register a chain of filters .Ar chain-name , -- 2.20.1