summaryrefslogtreecommitdiff
path: root/amavis/amavisd.conf.addon
blob: f31a1814700e5fffc23888833bd92681d9b82745 (plain)
  1. #
  2. # /etc/local-COMMON/amavisd.conf.addon
  3. # Copyright 2002 Jonas Smedegaard <dr@jones.dk>
  4. #
  5. # $Id: amavisd.conf.addon,v 1.7 2003-06-12 13:28:51 jonas Exp $
  6. #
  7. # AMaViS configuration file addon (Debian package "amavisd-new")
  8. #
  9. # Put the following lines at the end of /etc/amavis/amavisd.conf:
  10. #
  11. # my $config_file_addon="/etc/local-COMMON/amavis/amavisd.conf.addon";
  12. # -f $config_file_addon or die "Cannot find config file $config_file_addon";
  13. # do $config_file_addon or die "Error in config file $config_file_addon: $@";
  14. #
  15. # We use SpamAssassin >= 2.44
  16. @bypass_spam_checks_acl = undef;
  17. sa_auto_whitelist = 1;
  18. # We explicitly set local domains
  19. @local_domains_acl = undef;
  20. read_hash(\%local_domains, "/etc/local-COMMON/amavis/local_domains_$mydomain");
  21. $spam_admin = "spamalert\@$mydomain";
  22. #$virus_lovers{lc('postmaster@')} = 1;
  23. #$spam_lovers{lc('postmaster@')} = 1;
  24. map { $virus_lovers{lc($_)}=1; $spam_lovers{lc($_)}=1; } (qw(
  25. postmaster@
  26. ));