White listing a specific remote IP address
Indunil Jayasooriya
indunil75 at gmail.com
Fri Aug 18 10:38:29 CEST 2017
>
>
> @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 discuss.
In my /etc/amavisd.conf default config is
@mynetworks = qw( 127.0.0.0/8 [::1] [FE80::]/10 [FEC0::]/10
10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 );
$policy_bank{'MYNETS'} = { # mail originating from @mynetworks
originating => 1, # is true in MYNETS by default, but let's make it
explicit
os_fingerprint_method => undef, # don't query p0f for internal clients
};
without editing (without touching) the above lines, Can we have something
like these ?
@client_ipaddr_policy = (
[qw( 192.2.0.1/32 222.2.0.x/32 )] => 'WHITELIST',
);
$policy_bank{'WHITELIST'} = {
bypass_spam_checks_maps => [1],
...
};
hope to hear from you since this is very beneficial.
>
> HTH,
>
> p at rick
>
> --
> [*] sys4 AG
>
> https://sys4.de, +49 (89) 30 90 46 64
> Schleißheimer Straße 26/MG,80333 München
>
> Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
> Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief
> Aufsichtsratsvorsitzender: Florian Kirstein
>
>
--
cat /etc/motd
Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20170818/9c274725/attachment.html>
More information about the amavis-users
mailing list