diff options
-rw-r--r-- | amavis/amavisd.conf.addon | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/amavis/amavisd.conf.addon b/amavis/amavisd.conf.addon index 4ec84ec..c23ac6d 100644 --- a/amavis/amavisd.conf.addon +++ b/amavis/amavisd.conf.addon @@ -14,6 +14,16 @@ # do $config_file_addon or die "Error in config file $config_file_addon: $@"; # +# Enable spam checks +@bypass_spam_checks_maps = ( + \%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re); + +$enable_db = 0; + +# Redpill mailhosts use AMaViS only as back-end +$final_banned_destiny = D_DISCARD; +$final_spam_destiny = D_DISCARD; + # Explicitly set local domains my $local_domains_file="/etc/local-ORG/amavis/local_domains"; if ( -f $local_domains_file ) { @@ -38,10 +48,13 @@ $virus_admin = undef; $undecipherable_subject_tag = undef; $recipient_delimiter = '+'; +$sa_spam_subject_tag = undef; $sa_tag_level_deflt = undef; # permits MUA training -$sa_tag2_level_deflt = undef; # move to Junk instead +$sa_tag2_level_deflt = 5.0; # move to Junk instead $sa_kill_level_deflt = 20.0; # also move >10 to Trash +$os_fingerprint_method = 'p0f:127.0.0.1:2345'; + my $config_file_addon_org="/etc/local-ORG/amavis/amavisd.conf.addon"; if ( -f $config_file_addon_org ) { do $config_file_addon_org or die "Error in config file $config_file_addon_org: $@"; |