diff options
author | Jonas Smedegaard <dr@jones.dk> | 2006-12-10 11:47:39 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2006-12-10 11:47:39 +0000 |
commit | 74d9d1875ba6632d2da9da4fc9cc255fc19f7c80 (patch) | |
tree | a2b0c324872ebc1bfcc968b2aa3987ac1136828a | |
parent | c3a927a84e56d75a03ea9df4820cdccc0147fa77 (diff) |
Support per-ORG config snippet.
-rw-r--r-- | amavis/amavisd.conf.addon | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/amavis/amavisd.conf.addon b/amavis/amavisd.conf.addon index 35acce4..aec9794 100644 --- a/amavis/amavisd.conf.addon +++ b/amavis/amavisd.conf.addon @@ -5,7 +5,7 @@ # /etc/local-COMMON/amavisd.conf.addon # Copyright 2002 Jonas Smedegaard <dr@jones.dk> # -# $Id: amavisd.conf.addon,v 1.45 2006-12-01 22:17:32 jonas Exp $ +# $Id: amavisd.conf.addon,v 1.46 2006-12-10 11:47:39 jonas Exp $ # # AMaViS configuration file addon (Debian package "amavisd-new") # @@ -42,4 +42,11 @@ $sa_kill_level_deflt = 12.0; # Default is 2 - lt's try increasing for (hopefully) better performance $max_servers = 5; +my $config_file_addon_org="/etc/local-ORG/amavis/amavisd.conf.addon"; +if ( -f $config_file_addon_org ) { + do $config_file_addon_org or die "Error in config file $config_file_addon_org: $@"; +} else { + warn "Ignoring non-existing file $config_file_addon_org"; +} + 1; |