aboutsummaryrefslogtreecommitdiffstats
path: root/modules/amavis
diff options
context:
space:
mode:
Diffstat (limited to 'modules/amavis')
-rw-r--r--modules/amavis/templates/amavisd.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/amavis/templates/amavisd.conf b/modules/amavis/templates/amavisd.conf
index 0e3b3f1d..2d782988 100644
--- a/modules/amavis/templates/amavisd.conf
+++ b/modules/amavis/templates/amavisd.conf
@@ -22,6 +22,9 @@ $daemon_group = 'amavis'; # (no default; customary: vscan or amavis), -g
# a convenient default for other settings could be localhost.localdomain
# or change this as your needs
+<% if scope.function_versioncmp([lsbdistrelease, '6']) >= 0 -%>
+$MYHOME = '/run/amavis';
+<% end %>
# $MYHOME = '/var/lib/amavis'; # a convenient default for other settings, -H
$TEMPBASE = "$MYHOME/tmp"; # working directory, needs to exist, -T
$ENV{TMPDIR} = $TEMPBASE; # environment variable TMPDIR, used by SA, etc.