[Exim] using several routers

Top Page
Delete this message
Reply to this message
Author: Marten Lehmann
Date:  
To: exim-users
Subject: [Exim] using several routers
Hello,

I have to following routers in my configuration (besides dnslookup):

virtual_mailbox:
driver = accept
condition = ${if eq
{}{${lookup{$local_part@$domain}lsearch{/vrmd/exim/mailboxes/pop3Accounts}}}{no}{yes}}
transport = virtual_delivery

virtual_alias:
driver = redirect
allow_defer
allow_fail
data =
${lookup{$local_part}lsearch*{${lookup{$domain}lsearch{/vrmd/exim/mailboxes/domainMapping}}/aliases

These are working fine. As you can see if a mail comes in, it shall be
delivered locally or redirected or maybe both. The latter is the
problem: If it is delivered locally, the virtual_alias router is
untouched. What do I have to change, so that both routers are used, always?

Regards
Marten