From: Mark Wooding Date: Sun, 26 Jan 2014 15:53:10 +0000 (+0000) Subject: local.m4: Switch `aliases' file to `nwildlsearch' and expand the result. X-Git-Url: https://git.distorted.org.uk/~mdw/exim-config/commitdiff_plain/ec1fe5038ee0a9988ded1356b65579f4f9614da6 local.m4: Switch `aliases' file to `nwildlsearch' and expand the result. Makes the file much more versatile. --- 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