Disable antispam/antivirus by default
A. Schulze
sca at andreasschulze.de
Sat Jan 10 15:06:45 CET 2015
Tom Sommer:
> What is the best-practice way to disable antispam and antivirus
> checks by default, and only enable it for the users in
> $sql_select_policy ?
look at the first lines in amavisd.conf:
# COMMONLY ADJUSTED SETTINGS:
# @bypass_virus_checks_maps = (1); # controls running of anti-virus code
# @bypass_spam_checks_maps = (1); # controls running of anti-spam code
I assume you could set = (1) global and = (0) for selected policies.
but: total untested ...
Andreas
More information about the amavis-users
mailing list