Re: [exim] Router with two transport and condition

Top Page
Delete this message
Reply to this message
Author: Magnus Holmgren
Date:  
To: exim-users
Subject: Re: [exim] Router with two transport and condition
On Sunday 10 June 2007 10:01, Luca Bertoncello wrote:
> Is it possible to define TWO transport (of the same type!) for a router,
> and a condition in the transport?


Yes. The transport option is string-expanded, so just use something like this:

transport = ${if some_condition {first_transport} {second_transport}}

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans