On 18/08/17 17:04, Patrick Ben Koetter wrote:
* Stephen Davies <[email protected]>:
I can see how to white list a domain but not a specific IP address.

@client_ipaddr_policy = (
     [qw( 0.0.0.0/8 127.0.0.1/32 [::] [::1] )] => 'LOCALHOST',
     [qw( !172.16.1.0/24 172.16.0.0/12 192.168.0.0/16 )] => 'PRIVATENETS',
     [qw( 192.2.0.1/32 )] => 'WHITELIST',
     \@mynetworks => 'MYNETS'
);

$policy_bank{'WHITELIST'} = {
     bypass_spam_checks_maps => [1],
     ...
};


HTH,

p@rick


Thanks. That looks good.

What is the bang before 172.16.1.0/24 (negative?)?

Cheers,
Stephen

Reply via email to