aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreric <eric@openbsd.org>2020-04-25 09:20:38 +0000
committereric <eric@openbsd.org>2020-04-25 09:20:38 +0000
commitee83c50f977c8498c0b39689d507486261588831 (patch)
tree1c531328014d35d28ee8e2b081d9f75530102a20
parentstrip trailing CRs at smtp level rather than io level (diff)
downloadOpenSMTPD-ee83c50f977c8498c0b39689d507486261588831.tar.xz
OpenSMTPD-ee83c50f977c8498c0b39689d507486261588831.zip
point out that the "junk" filter decision adds the X-Spam header
from Ryan Kavanagh
-rw-r--r--smtpd.conf.518
1 files changed, 13 insertions, 5 deletions
diff --git a/smtpd.conf.5 b/smtpd.conf.5
index 11340310..c543c662 100644
--- a/smtpd.conf.5
+++ b/smtpd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: smtpd.conf.5,v 1.249 2020/02/12 14:46:36 schwarze Exp $
+.\" $OpenBSD: smtpd.conf.5,v 1.250 2020/04/25 09:20:38 eric Exp $
.\"
.\" Copyright (c) 2008 Janne Johansson <jj@openbsd.org>
.\" Copyright (c) 2009 Jacek Masiulaniec <jacekm@dobremiasto.net>
@@ -17,7 +17,7 @@
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.\"
-.Dd $Mdocdate: February 12 2020 $
+.Dd $Mdocdate: April 25 2020 $
.Dt SMTPD.CONF 5
.Os
.Sh NAME
@@ -141,8 +141,14 @@ may contain format specifiers that are expanded before use
.Pp
If the
.Cm junk
-argument is provided, the message will be moved to the Junk
-folder if it contains a positive X-Spam header.
+argument is provided, the message will be moved to the
+.Ql Junk
+folder if it contains a positive
+.Ql X-Spam
+header.
+This folder will be created under
+.Ar pathname
+if it does not yet exist.
.It Cm mbox
Deliver the message to the user's mbox with
.Xr mail.local 8 .
@@ -1001,7 +1007,9 @@ Finally, a number of decisions may be taken:
.Bl -column XXXXXXXXXXXXXXXXXXXXX -offset indent
.It bypass Ta the session or transaction bypasses filters
.It disconnect Ar message Ta the session is disconnected with message
-.It junk Ta the session or transaction is junked
+.It junk Ta the session or transaction is junked, i.e., an
+.Ql X-Spam: yes
+header is added to any messages
.It reject Ar message Ta the command is rejected with message
.It rewrite Ar value Ta the command parameter is rewritten with value
.El