diff options
Diffstat (limited to 'amavis/amavisd.conf.addon.in')
-rw-r--r-- | amavis/amavisd.conf.addon.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/amavis/amavisd.conf.addon.in b/amavis/amavisd.conf.addon.in index 1319324..37309fe 100644 --- a/amavis/amavisd.conf.addon.in +++ b/amavis/amavisd.conf.addon.in @@ -3,7 +3,7 @@ # /etc/local-COMMON/amavisd.conf.addon # Copyright 2002 Jonas Smedegaard <dr@jones.dk> # -# $Id: amavisd.conf.addon.in,v 1.12 2004-07-01 00:48:13 jonas Exp $ +# $Id: amavisd.conf.addon.in,v 1.13 2005-04-12 17:02:32 jonas Exp $ # # AMaViS configuration file addon (Debian package "amavisd-new") # @@ -16,6 +16,7 @@ # We use SpamAssassin >= 2.44 and have working Internet connection @bypass_spam_checks_acl = undef; +$bypass_spam_checks_acl = qw( spamalert@ spam.police@ ); $sa_local_tests_only = 0; #$sa_auto_whitelist = 1; $sa_timeout = 300; @@ -33,10 +34,11 @@ $virus_quarantine_to = 'virus-quarantine@'; $spam_quarantine_to = 'spam-quarantine@'; # We explicitly set local domains -@local_domains_acl = undef; my $local_domain_file="/etc/local-COMMON/amavis/local_domains_$mydomain"; if ( -f $local_domain_file ) { + @local_domains_acl = undef; read_hash(\%local_domains, $local_domain_file); + read_hash(\%bypass_spam_checks, $local_domain_file); } else { warn "Ignoring non-existing file $local_domain_file"; } |