Re: [exim] Mixing Manualroute and Redirect router skills

Top Page
Delete this message
Reply to this message
Author: Jakob Hirsch
Date:  
To: Federico Tomassini
CC: exim-users
Subject: 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}}