[Exim] Re: Virtual domain question

Top Page
Delete this message
Reply to this message
Author: Björn Lindström
Date:  
To: exim-users
Subject: [Exim] Re: Virtual domain question
Greg Folkert <greg@???> writes:

> I just add another router for each domain I want to have specific
> aliases for:
>
> somecompany.com_domain_aliases:
> debug_print = "R: somecompany.com_domain_aliases for $local_part@???"
> driver = redirect
> domains = somecompany.com
> allow_fail
> allow_defer
> data = ${lookup{$local_part}lsearch{/home/somecompany.com/etc/aliases}}
> file_transport = address_file


I think I get this. Now, how do I get my global alias file, as defined
in this rule:

system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch*{/usr/local/etc/exim/aliases}}
user = mailnull
group = mail
file_transport = address_file
pipe_transport = address_pipe


to affect only mail sent from local services, such as crond et al?

--
Björn Lindström <bkhl@???>
http://bkhl.elektrubadur.se/