summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/amavisd/50-user15
-rw-r--r--manifests/amavisd.pp9
2 files changed, 24 insertions, 0 deletions
diff --git a/files/amavisd/50-user b/files/amavisd/50-user
new file mode 100644
index 0000000..ddaab0f
--- /dev/null
+++ b/files/amavisd/50-user
@@ -0,0 +1,15 @@
+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
+#
+
+# See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498832
+$undecipherable_subject_tag = undef;
+
+#------------ Do not modify anything below this line -------------
+1; # ensure a defined return
diff --git a/manifests/amavisd.pp b/manifests/amavisd.pp
index 36c329c..720c15c 100644
--- a/manifests/amavisd.pp
+++ b/manifests/amavisd.pp
@@ -32,6 +32,15 @@ class mail::amavisd {
notify => Service['amavis'],
}
+ file { "/etc/amavis/conf.d/50-user":
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 0644,
+ source => "puppet:///modules/mail/amavisd/50-user",
+ notify => Service['amavis'],
+ }
+
group { 'amavis':
ensure => present,
}