[exim] Exim virtual router config

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Craig Schneider
Date:  
À: exim-users
Sujet: [exim] Exim virtual router config
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