Re: [Exim] exim as mailfilter-smarthost

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tim Jackson
Date:  
À: exim-users
Sujet: Re: [Exim] exim as mailfilter-smarthost
Hi Dennis, on Sat, 23 Aug 2003 17:12:10 +0200 you wrote:

> " Internet -> mx.mailfilter -> mx.domain1 "
> " Internet -> mx.mailfilter -> mx.domain2 "
> Is it possible to have a list like
> domain1.com:mx.domain1.com
> domain2.com:mailserver.domain2.com


Absolutely. Define the list of domains to be scanned, e.g. with a
domainlist "filtered_domains" and use a manualroute router like so:


filtered_domains:
driver = manualroute
domains = +filtered_domains
route_data = ${lookup{$domain}lsearch{/etc/exim/domain_routes}}
transport = remote_smtp
no_more

where /etc/exim/domain_routes is a file just like you suggested.


Tim