Re: [exim] match_ip and IPv6

Góra strony
Delete this message
Reply to this message
Autor: Max Kostikov
Data:  
Dla: exim-users
Temat: Re: [exim] match_ip and IPv6
And solution is

# exim -be
> ${if match_ip{2a00:1450:400c:c09::229}{<;
> 2a00:1450:400c:c09::229}{true}{false}}
> true


Thanks you for your attention!

Max Kostikov писал 2016-11-21 17:08:
> Hello!
>
> Help me to understand Exim's behavior with match_ip for IPv6
>
> # exim --version | head -1
> Exim version 4.87 #0 (FreeBSD 11.0) built 19-Nov-2016 16:00:52
> # exim -be
>> ${if
>> match_ip{2a00:1450:400c:c09::229}{2a00:1450:400c:c09::229}{true}{false}}
> false
>> ^C
>
> I believe that is becouse colon used in IPv6. But how to avoid it?


--
With best regards,
Max Kostikov

BBM: 24CA5DF8 | W: https://kostikov.co