From ec1fe5038ee0a9988ded1356b65579f4f9614da6 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 26 Jan 2014 15:53:10 +0000 Subject: [PATCH] local.m4: Switch `aliases' file to `nwildlsearch' and expand the result. Makes the file much more versatile. --- local.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/local.m4 b/local.m4 index 78b3e64..7abf456 100644 --- a/local.m4 +++ b/local.m4 @@ -65,7 +65,8 @@ alias: allow_defer = true user = CONF_filter_user FILTER_TRANSPORTS - data = ${lookup {$local_part} lsearch {CONF_alias_file}} + local_parts = nwildlsearch; CONF_alias_file + data = ${expand:$local_part_data} SECTION(routers, real)m4_dnl ## A special hack to get mail to a user who has a forward file. Only for -- 2.11.0