summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2018-06-04 21:13:35 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2018-06-04 21:13:35 +0000
commit4f715dda52b4497369ede3f2048216bcc10419b3 (patch)
tree8eb0d8fac42d898fffc39101cb1e774fc2223a77 /usr.sbin
parent73dc5c8a301cf0a5bd5c6ffcb853aad58a24fdd6 (diff)
for "match", document that envelopes that do not match anything are rejected,
and that rules are evaluated sequentially, first match wins; ok gilles
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/smtpd.conf.56
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpd.conf.5 b/usr.sbin/smtpd/smtpd.conf.5
index 8e19e1a2814..81d71607548 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.191 2018/06/04 16:34:09 jmc Exp $
+.\" $OpenBSD: smtpd.conf.5,v 1.192 2018/06/04 21:13:34 jmc Exp $
.\"
.\" Copyright (c) 2008 Janne Johansson <jj@openbsd.org>
.\" Copyright (c) 2009 Jacek Masiulaniec <jacekm@dobremiasto.net>
@@ -384,6 +384,10 @@ directive, receive the incoming message, put a copy into each
matching envelope, and atomically save the envelopes to the mail
spool for later processing by the respective dispatcher
.Ar name .
+If the envelope does not match any options,
+it is rejected.
+Rules are evaluated sequentially,
+with the first match winning.
.Pp
The following matching options are supported and can all be negated:
.Bl -tag -width Ds