Re: White listing a specific remote IP address

2017-08-19 Thread Patrick Ben Koetter
* Guido Kuehler : > Hello! > > Exist any Example to store the IPs for LOCALHOST, PRIVATENETS and WHITELIST > in separate external Files? Play along this example: # cat /etc/testmap.cidr 192.0.2.1 OK In amavisd.conf: my @csanetworks = @{

Re: Re: White listing a specific remote IP address

2017-08-19 Thread Patrick Ben Koetter
* Stephen Davies : > On 18/08/17 17:04, Patrick Ben Koetter wrote: > > * Stephen Davies : > > > 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] )] =>

Re: Re: White listing a specific remote IP address

2017-08-18 Thread Stephen Davies
On 18/08/17 17:04, Patrick Ben Koetter wrote: * Stephen Davies : 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

Re: White listing a specific remote IP address

2017-08-18 Thread Indunil Jayasooriya
> > > @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' > ); > > I think this is something worth it

Re: White listing a specific remote IP address

2017-08-18 Thread Patrick Ben Koetter
* Stephen Davies : > 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 )]