summaryrefslogtreecommitdiff
path: root/amavis/amavisd.conf.addon
blob: 35acce4aa227756dfb03fa32b8469ffde63c9952 (plain)
  1. #!/bin/perl
  2. ### WARNING: This file is generated automatically.
  3. ### Please edit amavisd.conf.addon.in and run mkaddon.sh
  4. #
  5. # /etc/local-COMMON/amavisd.conf.addon
  6. # Copyright 2002 Jonas Smedegaard <dr@jones.dk>
  7. #
  8. # $Id: amavisd.conf.addon,v 1.45 2006-12-01 22:17:32 jonas Exp $
  9. #
  10. # AMaViS configuration file addon (Debian package "amavisd-new")
  11. #
  12. # Put the following lines at the end of /etc/amavis/amavisd.conf:
  13. #
  14. # my $config_file_addon="/etc/local-COMMON/amavis/amavisd.conf.addon";
  15. # -f $config_file_addon or die "Cannot find config file $config_file_addon";
  16. # do $config_file_addon or die "Error in config file $config_file_addon: $@";
  17. #
  18. # We explicitly set local domains
  19. my $local_domain_file="/etc/local-ORG/amavis/local_domains";
  20. if ( -f $local_domain_file ) {
  21. @local_domains_acl = undef;
  22. read_hash(\%local_domains, $local_domain_file);
  23. # read_hash(\%bypass_spam_checks, $local_domain_file);
  24. } else {
  25. warn "Ignoring non-existing file $local_domain_file";
  26. }
  27. map { $spam_lovers{lc($_)}=1; } (qw(
  28. booking@dgi-huset.dk
  29. ));
  30. # Suppress virus notifications (noone reads them anyway)
  31. $virus_admin = undef;
  32. # Recommendations from http://www200.pair.com/mecham/spam/spamfilter20060630.html
  33. $recipient_delimiter = '+';
  34. $sa_tag_level_deflt = undef;
  35. $sa_tag2_level_deflt = 5.0;
  36. $sa_kill_level_deflt = 12.0;
  37. # Default is 2 - lt's try increasing for (hopefully) better performance
  38. $max_servers = 5;
  39. 1;