Created
May 31, 2016 19:01
-
-
Save koniu/c74b5a1f83b9c90305af374776f259d7 to your computer and use it in GitHub Desktop.
Exim4 router allowing usage of local unix groups in /etc/aliases.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### router/350_exim4-config_system_group_aliases | |
# Allows to use local unix group as local part in /etc/aliases. Eg: | |
# root: adm | |
system_group_aliases: | |
debug_print = "R: system_group_aliases for $local_part@$domain" | |
driver = redirect | |
domains = +local_domains | |
data = ${sg{${lookup{$local_part}lsearch{/etc/group}}}{^x:[0-9]+:(.*)}{\$1}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment