-/* $OpenBSD: parse.y,v 1.219 2018/09/01 21:20:32 gilles Exp $ */
+/* $OpenBSD: parse.y,v 1.220 2018/09/05 08:47:34 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
%token KEY
%token LIMIT LISTEN LMTP LOCAL
%token MAIL_FROM MAILDIR MASK_SRC MASQUERADE MATCH MAX_MESSAGE_SIZE MAX_DEFERRED MBOX MDA MTA MX
-%token NODSN NOVERIFY
+%token NO_DSN NO_VERIFY
%token ON
%token PKI PORT
%token QUEUE
dispatcher->u.remote.smarthost = strdup(t->t_name);
}
-| TLS NOVERIFY {
+| TLS NO_VERIFY {
if (dispatcher->u.remote.smarthost == NULL) {
yyerror("tls no-verify may not be specified without host on a dispatcher");
YYERROR;
listen_opts.options |= LO_RECEIVEDAUTH;
listen_opts.flags |= F_RECEIVEDAUTH;
}
- | NODSN {
+ | NO_DSN {
if (listen_opts.options & LO_NODSN) {
yyerror("no-dsn already specified");
YYERROR;
{ "mda", MDA },
{ "mta", MTA },
{ "mx", MX },
- { "no-dsn", NODSN },
- { "no-verify", NOVERIFY },
+ { "no-dsn", NO_DSN },
+ { "no-verify", NO_VERIFY },
{ "on", ON },
{ "pki", PKI },
{ "port", PORT },