diff options
author | root <root@jones.dk> | 2016-12-30 18:39:05 +0100 |
---|---|---|
committer | root <root@jones.dk> | 2016-12-30 18:39:05 +0100 |
commit | 932e546ce02c5404d804255134ad365c8e3cb06a (patch) | |
tree | d8323f9972e93c61132c4e0aba881a61caafbaa7 | |
parent | 85c05023e6d4fadafb5357f28c0ff075adf48fc0 (diff) |
Add amavisd-new tweak.
-rw-r--r-- | amavis/conf.d/50-user | 16 | ||||
-rw-r--r-- | amavis/conf.d/50-user.diff | 12 |
2 files changed, 28 insertions, 0 deletions
diff --git a/amavis/conf.d/50-user b/amavis/conf.d/50-user new file mode 100644 index 0000000..ac1cd93 --- /dev/null +++ b/amavis/conf.d/50-user @@ -0,0 +1,16 @@ +use strict; + +# +# Place your configuration directives here. They will override those in +# earlier files. +# +# See /usr/share/doc/amavisd-new/ for documentation and examples of +# the directives you can use in this file +# + +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: $@"; + +#------------ Do not modify anything below this line ------------- +1; # ensure a defined return diff --git a/amavis/conf.d/50-user.diff b/amavis/conf.d/50-user.diff new file mode 100644 index 0000000..860f7ea --- /dev/null +++ b/amavis/conf.d/50-user.diff @@ -0,0 +1,12 @@ +--- 50-user.orig 2012-06-16 19:10:20.000000000 +0200 ++++ 50-user 2013-01-26 19:41:07.000000000 +0100 +@@ -8,6 +8,9 @@ + # the directives you can use in this file + # + ++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: $@"; + + #------------ Do not modify anything below this line ------------- + 1; # ensure a defined return |