[Exim] virtual-host routing question

Pàgina inicial
Delete this message
Reply to this message
Autor: Mark Edwards
Data:  
A: exim list
Assumptes vells: [Exim] Routing from spam-list
Assumpte: [Exim] virtual-host routing question
I have the following router set up in exim 4.12 to route mail to
various virtual hosts:

virtual:
driver = redirect
allow_fail
allow_defer
domains = lsearch;/usr/local/etc/mail/local_domains
data =
${lookup{$local_part}lsearch*{/usr/local/etc/mail/virtual/$domain}}
file_transport = address_file
pipe_transport = address_pipe
no_more

Works great. Is there a way to force exim to continue expanding
strings in the "alias" files, even if the string matches a local user?

For instance, say mark is a local user, and I have the following in an
alias file:

mark:    mark,otheraddress@???
bubba:    mark


In this case, mails addressed to mark go to both the local user mark
and the otheraddress@???, whereas mails to bubba only go to
the local user mark. Is there a way to make it so that a alias that
resolves to a local user will continue to expand if that string is also
an alias in the file?

Thanks!

--
Mark Edwards
San Francisco, CA