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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Lasse Törngren
Dátum:  
Címzett: exim-users
CC: Tony Finch
Tárgy: 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