Re: [exim] Deliver mail to a remote mailserver after virus- …

Top Page
Delete this message
Reply to this message
Author: Lasse Törngren
Date:  
To: exim-users
CC: Tony Finch
Subject: Re: [exim] Deliver mail to a remote mailserver after virus- and spam control
> On Wed, 22 Jun 2005, Lasse wrote:
>
>> I want to check virus and spam on my mailserver for a client, but
>> then deliver all the mail for their domain to their local mailserver.
>>
>> Could someone give me a hint what to put in my configuration
>> file to make this happen?
>
> Use a manualroute router like
>
> special_routes:
> driver        = manualroute
> domains         = !+local_domains
> host_find_failed    = defer
> route_data        = ${lookup {$domain} cdb {DB/special_routes.cdb} }
> same_domain_copy_routing
> transport        = smtp

>
> Tony.



One of the keys lies in the route_data line, I guess. I presume it's
possible to have an ordinary textfile with the relevant domain instead of
cdb?


Lasse