summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/parse.y
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2009-11-03 22:57:42 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2009-11-03 22:57:42 +0000
commitabf341a30a6fbed3284cce7b9c03141e93de7a24 (patch)
tree69d9a0e31eb4300131679b509ccf66f22f8c591f /usr.sbin/smtpd/parse.y
parentd6962539bf43face70c48f1e28dce06b287b841b (diff)
teach makemap how to build a set, which is a map containing only keys.
smtpd is now capable of looking primary domains at runtime in a set, which means that the following becomes possible: map "primary" { source db "/etc/mail/primary.db" } accept for domain map "primary" deliver to mbox while at it fix a couple bugs in the aliases resolution path which caused recipients to bounce if a ruleset did not have an "accept for local" rule "diff reads good" jacekm@, flush queue & make clean
Diffstat (limited to 'usr.sbin/smtpd/parse.y')
-rw-r--r--usr.sbin/smtpd/parse.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/parse.y b/usr.sbin/smtpd/parse.y
index 814cb312808..b6353a0e1a6 100644
--- a/usr.sbin/smtpd/parse.y
+++ b/usr.sbin/smtpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.44 2009/11/03 20:55:23 gilles Exp $ */
+/* $OpenBSD: parse.y,v 1.45 2009/11/03 22:57:41 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -505,6 +505,7 @@ mapref : STRING {
fatal("snprintf");
m->m_flags |= F_DYNAMIC|F_USED;
m->m_type = T_SINGLE;
+ m->m_src = S_NONE;
TAILQ_INIT(&m->m_contents);