Re: [exim] quick question to ipv6 and "not a valid ip addres…

Top Page
Delete this message
Reply to this message
Author: Adam D. Barratt
Date:  
To: Cyborg
CC: exim-users
Subject: Re: [exim] quick question to ipv6 and "not a valid ip address for the interface"
On 2020-02-21 09:42, Cyborg via Exim-users wrote:
> i have a ipv6 ip running, which starts with 2a02:....
>
> as soon as i set a "interface = 2a02:........."  in the remote
> transport, it get this:
>
> R=remoteusers T=remote_smtp defer (-1): "2a02" is not a valid IP
> address
> for the "interface" option for remote_smtp transport
>
> exim cuts the ip to the first block.
>
> Is there any special syntax for ipv6 ips to give in that option or do
> we
> need BOTH, an ipv4 and an ipv6 ip together on a 4/6 system?


Yes, you'll have that issue anywhere you're using IPv6 addresses in the
configuration:

<quote
source="https://www.exim.org/exim-html-current/doc/html/spec_html/ch-starting_the_daemon_and_the_use_of_network_interfaces.html">
The default list separator in both cases is a colon, but this can be
changed as described in section 6.21. When IPv6 addresses are involved,
it is usually best to change the separator to avoid having to double all
the colons.
</quote>

Which approach you take is up to you.

Regards,

Adam