summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2015-11-24 07:40:27 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2015-11-24 07:40:27 +0000
commit847efa15a1c53d70a8202d15ec3fd559d602ce6d (patch)
tree2a08a7e086e510293a6b032d6378d6034de2692f /usr.sbin
parentada7d272e1911e0bc79049019788df8abeb8db29 (diff)
teach table_db and table_static about mailaddr maps (unused yet)
ok sunil@, ok jung@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/table_db.c4
-rw-r--r--usr.sbin/smtpd/table_static.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/table_db.c b/usr.sbin/smtpd/table_db.c
index dd71684d575..fa56abc56eb 100644
--- a/usr.sbin/smtpd/table_db.c
+++ b/usr.sbin/smtpd/table_db.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: table_db.c,v 1.8 2015/01/20 17:37:54 deraadt Exp $ */
+/* $OpenBSD: table_db.c,v 1.9 2015/11/24 07:40:26 gilles Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@poolp.org>
@@ -52,7 +52,7 @@ static char *table_db_get_entry_match(void *, const char *, size_t *,
int(*)(const char *, const char *));
struct table_backend table_backend_db = {
- K_ALIAS|K_CREDENTIALS|K_DOMAIN|K_NETADDR|K_USERINFO|K_SOURCE|K_MAILADDR|K_ADDRNAME,
+ K_ALIAS|K_CREDENTIALS|K_DOMAIN|K_NETADDR|K_USERINFO|K_SOURCE|K_MAILADDR|K_ADDRNAME|K_MAILADDRMAP,
table_db_config,
table_db_open,
table_db_update,
diff --git a/usr.sbin/smtpd/table_static.c b/usr.sbin/smtpd/table_static.c
index 5ce96894e56..b7d66aa7ed9 100644
--- a/usr.sbin/smtpd/table_static.c
+++ b/usr.sbin/smtpd/table_static.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: table_static.c,v 1.11 2015/10/11 12:50:00 sunil Exp $ */
+/* $OpenBSD: table_static.c,v 1.12 2015/11/24 07:40:26 gilles Exp $ */
/*
* Copyright (c) 2013 Eric Faurot <eric@openbsd.org>
@@ -49,7 +49,7 @@ static void table_static_close(void *);
static int table_static_parse(struct table *, const char *, enum table_type);
struct table_backend table_backend_static = {
- K_ALIAS|K_CREDENTIALS|K_DOMAIN|K_NETADDR|K_USERINFO|K_SOURCE|K_MAILADDR|K_ADDRNAME,
+ K_ALIAS|K_CREDENTIALS|K_DOMAIN|K_NETADDR|K_USERINFO|K_SOURCE|K_MAILADDR|K_ADDRNAME|K_MAILADDRMAP,
table_static_config,
table_static_open,
table_static_update,