So I have domain specific alias files (mapped from the DOMAINS file).
I'd like to have a pipe that could update the alias file, but I have not
been able to get it to work.
So in /etc/exim/alias_foo I might have:
update_aliases: |/etc/exim/update_foo_aliase.pl
I tried to chown the alias_foo file to "nobody" and then I set
user = nobody
But I end up getting:
D=virtual_aliases T=address_pipe: Child process of address_pipe transport
returned 69 (could mean service or program unavailable) from command:
/etc/exim/update_foo_aliases.pl
And that's where I'm stuck.
I also wonder if I could set user = ${domain_data} above so that it
attempts to only run as the user (as mapped by DOMAINS), if that user
exists, otherwise bomb. That would give me some control over what domains
can auto-update.
I'm willing to listen to better ways of doing all this, too.