Re: [Exim] manualroute

Etusivu
Poista viesti
Vastaa
Lähettäjä: David S. Madole
Päiväys:  
Vastaanottaja: Szabó János, exim-users
Aihe: Re: [Exim] manualroute
> From: "Szabó János" <jancsy@???>
>
> I would like to use smart_host for a special domain. At the moment I use
> Exim3.22.
> Exim 4.x support manularoute driver, as follows:
>
> send_to_gateway:
>        driver = manualroute
>        domains = special.domain.com
>        transport = remote_smtp
>        route_list = * relay.smtp.com

>
> Can I solve this with Exim 3.22 somehow or I should upgrade?


Yes, you can solve it, use the domainlist router, see the docs:

http://www.exim.org/exim-html-3.30/doc/html/spec_toc.html#TOC703

In fact, look at the second to last example on that page, from which this
solution is derived:

send_to_gateway:
driver = domainlist
transport = remote_smtp
route_list = special.domain.com relay.smtp.com
Also, yes, you should upgrade anyway.David