-/* $OpenBSD: parse.y,v 1.295 2023/12/03 11:50:50 op Exp $ */
+/* $OpenBSD: parse.y,v 1.296 2023/12/03 11:52:16 op Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
YYERROR;
}
}
+ | NO_DSN {
+ if (listen_opts.options & LO_NODSN) {
+ yyerror("no-dsn already specified");
+ YYERROR;
+ }
+ listen_opts.options |= LO_NODSN;
+ listen_opts.flags &= ~F_EXT_DSN;
+ }
| TAG STRING {
if (listen_opts.options & LO_TAG) {
yyerror("tag already specified");
-.\" $OpenBSD: smtpd.conf.5,v 1.265 2023/05/19 15:18:06 op Exp $
+.\" $OpenBSD: smtpd.conf.5,v 1.266 2023/12/03 11:52:16 op Exp $
.\"
.\" Copyright (c) 2008 Janne Johansson <jj@openbsd.org>
.\" Copyright (c) 2009 Jacek Masiulaniec <jacekm@dobremiasto.net>
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.\"
-.Dd $Mdocdate: May 19 2023 $
+.Dd $Mdocdate: December 3 2023 $
.Dt SMTPD.CONF 5
.Os
.Sh NAME
part when prepending
.Dq Received
headers.
+.It Cm no-dsn
+Disable the DSN (Delivery Status Notification) extension.
.It Cm tag Ar tag
Clients connecting to the listener are tagged with the given
.Ar tag .