chiark / gitweb /
Allow satellite hosts to do alias processing.
[exim-config] / base.m4
diff --git a/base.m4 b/base.m4
index 1c9dacf7a6cf1845af26546fd65cc435a9f50d00..d43a6f08c5e191def4e7631021e460848c5d7690 100644 (file)
--- a/base.m4
+++ b/base.m4
@@ -378,6 +378,22 @@ $1:
        verify = no
        FILTER_TRANSPORTS<::>$4:>)
 
+DIVERT(null)
+###--------------------------------------------------------------------------
+### Common routers.
+
+SECTION(routers, alias)m4_dnl
+## Look up the local part in the address map.
+alias:
+       driver = redirect
+       allow_fail = true
+       allow_defer = true
+       user = CONF_filter_user
+       FILTER_TRANSPORTS
+       local_parts = nwildlsearch; CONF_alias_file
+       data = ${expand:$local_part_data}
+SECTION(routers, alias-opts)m4_dnl
+
 DIVERT(null)
 ###--------------------------------------------------------------------------
 ### Some standard transports.