blob: ce60af480e1f7c110c7cbd05b6d235a748ac29ed (
plain)
- #
- # /etc/local-COMMON/amavisd.conf.addon
- # Copyright 2002 Jonas Smedegaard <dr@jones.dk>
- #
- # $Id: amavisd.conf.addon.in,v 1.1 2003-07-12 12:55:48 jonas Exp $
- #
- # AMaViS configuration file addon (Debian package "amavisd-new")
- #
- # Put the following lines at the end of /etc/amavis/amavisd.conf:
- #
- # my $config_file_addon="/etc/local-COMMON/amavis/amavisd.conf.addon";
- # -f $config_file_addon or die "Cannot find config file $config_file_addon";
- # do $config_file_addon or die "Error in config file $config_file_addon: $@";
- #
- # We use SpamAssassin >= 2.44
- @bypass_spam_checks_acl = undef;
- $sa_auto_whitelist = 1;
- # Let's bounce everything bad as suggested (why not bad headers per default?)
- $final_spam_destiny = D_BOUNCE;
- $final_bad_header_destiny = D_BOUNCE;
- # We explicitly set local domains
- @local_domains_acl = undef;
- read_hash(\%local_domains, "/etc/local-COMMON/amavis/local_domains_$mydomain");
- $spam_admin = "spamalert\@$mydomain";
- #$virus_lovers{lc('postmaster@')} = 1;
- #$spam_lovers{lc('postmaster@')} = 1;
- map { $virus_lovers{lc($_)}=1; $spam_lovers{lc($_)}=1; } (qw(
- postmaster@
- ));
|