Re: [exim] Force IPv4 for host in route_list

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] Force IPv4 for host in route_list
On 19/02/2020 11:36, Frank Elsner via Exim-users wrote:
>>>>> route_list = * "<, seymour.fritz.box:2825 ipv4_only,\
>>>>>                    +,\
>>>>>                    smtp.mailbox.org:587,\
>>>>>                    mail.zedat.fu-berlin.de:587,\
>>>>>                    sfwdallmx.t-online.de:587"

>>
>> OK, assuming the -bt test show the router you're expecting
>> to be used, next step is -d+route -bt.
>
> "exim -d+route -bt echo@???" gives:
>
> manual_smtp router called for echo@???
> domain = dfn.de
> route_item = * "<, seymour.fritz.box:2825 ipv4_only,+,m28a.ddns.net:587,smtp.mailbox.org:587,mail.zedat.fu-berlin.de:587,sfwdallmx.t-online.de:587"


> DNS name syntax check failed: seymour.fritz.box:2825 ipv4_only (A)


Ah, you've tried to put the ipv4_only option on one host in the list.

Per section 2 of the manualroute chapter, options are separate from,
and after, the list. The implication is that you can only apply
options over a whole list.
--
Cheers,
Jeremy