Hi Guys
 
We need a flat text file of all local users on a domain to be delivered 
locally, anything else on the same domain needs to be delivered to a smarthost.
 
This is what we have so far:
 
domainlist virtual_domains = domain.com

Routers:



virtual:
  driver = redirect
  domains = +virtual_domains
  allow_fail
  allow_defer
  data = ${lookup{$local_part}lsearch*{/etc/mail/$domain}}

smarthost:
   driver = manualroute
   #domains = ! +local_domains
   transport = remote_smtp
   route_data = smtp.saix.net
   #ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
   #no_more
  

Unfortunately this doesn't seem to be work. Everything gets sent to the 
smarthost :(

Any assistance would be welcome.

Thanks

c

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to