local.m4: Switch `aliases' file to `nwildlsearch' and expand the result.
[exim-config] / local.m4
index 78b3e64..7abf456 100644 (file)
--- 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