Re: [exim] host list for IPv6 addresses

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jeremy Harris
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] host list for IPv6 addresses
On 14/05/15 09:27, Marc Haber wrote:
> |  accept
> |    hosts = ${if exists{CONFDIR/local_host_whitelist}\
> |                 {CONFDIR/local_host_whitelist}\
> |                 {}}

>
> The corresponding local_host_whitelist list is like this:
> |127.0.0.1
> |85.214.68.41
> |85.214.131.164
> |2a01:238:40b7:9102::200:100
> |85.214.53.218
> |2a01:238:4350:6101::100:100
>
> This does not seem to work for the IPv6 addresses. Before I try
> various combinations with doubled colons or brackets, how do I write
> IPv6 addresses in those lists?
>
> Greetings
> Marc
>

FWIW, a quick test with file content:

=======%%=======
# Lookup hosts file

127.0.0.1
::1
=======%%=======

... and a default hosts list separator, works perfectly for me.

Are you certain about the IPv6 addresses in question? What form
of "not seem to work" do you get?

--
Jeremy