Shine, Gary wrote:
> I have managed with help to solve most issues and EXIM is looking very good.
> Last issue I have is with the same username at different domains. I need
> exim to understand that gary@domain1 is not the same as gary@domain2
>
> I have a file structured as below.
>
> gary@domain1: dom1GARY
> gary@domain2: dom2GARY
>
> How do I get exim to locally deliver to the correct POP Account or system
> account rather.
>
> Running the latest version of EXIM
>
You can have a router for virtual users like this
virtual_aliases:
debug_print = "R: virtual_aliases for $local_part@$domain"
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part@$domain}lsearch{/etc/virtaliases}}
file_transport = address_file
pipe_transport = address_pipe
--
010100100110010101101110011000010111010101100100
010000010110110001101100011000010111001001100100