[Exim] exim and virtual domains

Top Page
Delete this message
Reply to this message
Author: Thomas Stein
Date:  
To: exim-users
Subject: [Exim] exim and virtual domains
Hello

I have some problems setting up my mailserver with virtual domains. My
configuration:

local_domains: example.com : andthis.com

Now i want email that goes to andthis.com is being delivered only if there is
a alias like:

virtual_domain:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part@$domain}lsearch{/etc/exim/virtual}}

/etc/exim/virtual contains perhaps:
thomas@???    thomas


But if a local user exists lets say called "dummy" he gets mail when i send
mail to dummy@???. Mail to dummy@??? should be delivered to
the local user "dummy". Maybe someone can me point to the right direction.

best regards
Thomas