White listing a specific remote IP address
Patrick Ben Koetter
p at sys4.de
Fri Aug 18 09:34:51 CEST 2017
* Stephen Davies <sdavies at sdc.com.au>:
> 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 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
More information about the amavis-users
mailing list