Re: [exim] Mixing Manualroute and Redirect router skills

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jakob Hirsch
Päiväys:  
Vastaanottaja: Federico Tomassini
Kopio: exim-users
Aihe: Re: [exim] Mixing Manualroute and Redirect router skills
Federico Tomassini wrote:

> Exim eats a mail and, if $header_foo == 'bar', then it forwards the mail
> to a remote smart host.


This should do what you want:

smtp_bla:
driver = manualroute
transport = remote_smtp
route_data = ${if def:h_X-Bla: {bla.example.com}}