Re: [exim] Different ports on a manualroute router?

Top Page
Delete this message
Reply to this message
Author: Peter Bowyer
Date:  
To: exim-users
New-Topics: [exim] Headers
Subject: Re: [exim] Different ports on a manualroute router?
Marc Haber <mh+exim-users@???> wrote:
> On Tue, 30 Nov 2004 10:20:49 +0000 (GMT), Philip Hazel
> <ph10@???> wrote:
>> On Tue, 30 Nov 2004, Marc Haber wrote:
>>> I'd like to have a rule like "try port 25 on host A, if that fails,
>>> try port 587 on host A, and if _that_ fails too, try port 25 on host
>>> B", so setting the port option on the transport is too global.
>>
>> Not if you use 3 different transports.
>
> 3? I am surprised by that. I would have thought that one transport by
> port would be enough.
>
> It is ugly enough that we would probably have to generate the
> transports on the fly, one for each port being used.


The 'port' option on an SMTP transport takes an expanded string - perhaps
you could use $domain_data or one of its friends to drive the destination
port through to a single transport.

Peter