I can see how to white list a domain but not a specific IP address.
Help appreciated.
Cheers,
Stephen
* 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 )] => 'WHITELIST',
\@
On 18.08.17 14:29, Stephen Davies wrote:
I can see how to white list a domain but not a specific IP address.
If Patrick's response doesn't help you, please describe your problem
more in detail.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to recei
>
>
> @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 discus
listing a specific remote IP address
* 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.
* 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 = @{ read_cidr('/etc/testmap.cidr') };
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 192.168.0.0/16 )] => 'PRIVATENETS
* 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.