install_amavis.sh: do virus check on whitelisted addresses.
This commit is contained in:
parent
93a7f2fe62
commit
225d8f83c6
@ -3954,12 +3954,6 @@ use strict;
|
|||||||
## -
|
## -
|
||||||
|
|
||||||
|
|
||||||
## - Global whitelisting of senders.
|
|
||||||
## -
|
|
||||||
## - Don't know if this works !!
|
|
||||||
## -
|
|
||||||
@whitelist_sender_maps = (\%whitelist_sender);
|
|
||||||
|
|
||||||
## - %whitelist_sender = (
|
## - %whitelist_sender = (
|
||||||
## - # Full E-Mail Adresses
|
## - # Full E-Mail Adresses
|
||||||
## - adress1@domain1.com => '1',
|
## - adress1@domain1.com => '1',
|
||||||
@ -3986,6 +3980,21 @@ use strict;
|
|||||||
## -
|
## -
|
||||||
read_hash(\%whitelist_sender, '/etc/postfix/sender_whitelist');
|
read_hash(\%whitelist_sender, '/etc/postfix/sender_whitelist');
|
||||||
|
|
||||||
|
## - Global whitelisting of senders.
|
||||||
|
## -
|
||||||
|
## - Don't know if this works !!
|
||||||
|
## -
|
||||||
|
@whitelist_sender_maps = (\%whitelist_sender);
|
||||||
|
|
||||||
|
## - Only whitelist from Spam, Banned and Header check and NOT from virus checks..
|
||||||
|
## -
|
||||||
|
\$interface_policy{'10026'} = 'VIRUSONLY';
|
||||||
|
\$policy_bank{'VIRUSONLY'} = { # mail from the pickup daemon
|
||||||
|
bypass_spam_checks_maps => ['@whitelist_sender_maps'], # don't spam-check this mail
|
||||||
|
bypass_banned_checks_maps => ['@whitelist_sender_maps'], # don't banned-check this mail
|
||||||
|
bypass_header_checks_maps => ['@whitelist_sender_maps'], # don't header-check this mail
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
## ---
|
## ---
|
||||||
## - Default antivirus checking mode
|
## - Default antivirus checking mode
|
||||||
|
Loading…
Reference in New Issue
Block a user