* 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 = @{
* 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] )] =>
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
>
>
> @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
* 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 )]