summaryrefslogtreecommitdiff
path: root/amavis/amavisd.conf.addon
blob: ed20004f390b3527679c00ac94805263c4f31313 (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.47 2007-05-09 08:11:24 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. # ...but lowered slightly
  34. $recipient_delimiter = '+';
  35. $sa_tag_level_deflt = undef;
  36. $sa_tag2_level_deflt = 3.0;
  37. $sa_kill_level_deflt = 10.0;
  38. # Default is 2 - lt's try increasing for (hopefully) better performance
  39. $max_servers = 5;
  40. my $config_file_addon_org="/etc/local-ORG/amavis/amavisd.conf.addon";
  41. if ( -f $config_file_addon_org ) {
  42. do $config_file_addon_org or die "Error in config file $config_file_addon_org: $@";
  43. } else {
  44. warn "Ignoring non-existing file $config_file_addon_org";
  45. }
  46. 1;