diff options
Diffstat (limited to 'amavis/amavisd.conf.addon.in')
-rw-r--r-- | amavis/amavisd.conf.addon.in | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/amavis/amavisd.conf.addon.in b/amavis/amavisd.conf.addon.in new file mode 100644 index 0000000..ce60af4 --- /dev/null +++ b/amavis/amavisd.conf.addon.in @@ -0,0 +1,34 @@ +# +# /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@ +)); |