From: root Date: Wed, 12 Dec 2007 07:31:41 +0000 (-0500) Subject: New wildcard aliases handler for Exim X-Git-Url: https://git.hcoop.net/hcoop/zz_old/config/exim4-hopper.git/commitdiff_plain/b66113565e3f4816d01fb8331989d68da5fb7a97 New wildcard aliases handler for Exim --- diff --git a/conf.d/router/480_exim4-config_hosted_wildcard_aliases b/conf.d/router/480_exim4-config_hosted_wildcard_aliases new file mode 100644 index 0000000..6dc6771 --- /dev/null +++ b/conf.d/router/480_exim4-config_hosted_wildcard_aliases @@ -0,0 +1,26 @@ + +# hcoop-change: Custom rule that looks up the local_part and domain +# in /etc/aliases.wildcard. + +hosted_wildcard_aliases: + debug_print = "R: hosted_aliases for $local_part@$domain" + driver = redirect + domains = +local_domains + allow_fail + allow_defer + data = ${lookup{$local_part@$domain}lsearch*@{/etc/aliases.wildcard}} + .ifdef SYSTEM_ALIASES_USER + user = SYSTEM_ALIASES_USER + .endif + .ifdef SYSTEM_ALIASES_GROUP + group = SYSTEM_ALIASES_GROUP + .endif + .ifdef SYSTEM_ALIASES_FILE_TRANSPORT + file_transport = SYSTEM_ALIASES_FILE_TRANSPORT + .endif + .ifdef SYSTEM_ALIASES_PIPE_TRANSPORT + pipe_transport = SYSTEM_ALIASES_PIPE_TRANSPORT + .endif + .ifdef SYSTEM_ALIASES_DIRECTORY_TRANSPORT + directory_transport = SYSTEM_ALIASES_DIRECTORY_TRANSPORT + .endif