On Thu, 14 May 2015 13:25:53 +0100, Jeremy Harris <jgh@???>
wrote:
>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?
A reject that is written in the ACL later than the accept hosts
applies. This does not happen when the message is delivered from a
whitelisted host using IPv4.
Greetings
Marc
--
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber | " Questions are the | Mailadresse im Header
Mannheim, Germany | Beginning of Wisdom " | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834