summaryrefslogtreecommitdiff
path: root/manifests/amavisd.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-19 18:13:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-19 18:13:31 -0300
commit2adfee9f7610e0583e6d51effca60f68f2223be2 (patch)
tree52b82333d8b6babeef87908e3d809131f1b7d817 /manifests/amavisd.pp
parent05c23e74b9fc3a49a57f4f88271150e79a837a18 (diff)
downloadpuppet-mail-2adfee9f7610e0583e6d51effca60f68f2223be2.tar.gz
puppet-mail-2adfee9f7610e0583e6d51effca60f68f2223be2.tar.bz2
Managing users and groups 'clamav' and 'amavis'
Diffstat (limited to 'manifests/amavisd.pp')
-rw-r--r--manifests/amavisd.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/amavisd.pp b/manifests/amavisd.pp
index d59670a..85e2501 100644
--- a/manifests/amavisd.pp
+++ b/manifests/amavisd.pp
@@ -18,5 +18,15 @@ class mail::amavisd {
notify => Service['amavisd'],
}
+ group { 'amavis':
+ ensure => present,
+ }
+
+ user { 'amavis':
+ ensure => present,
+ gid => 'amavis',
+ require => Group['amavis'],
+ }
+
postfix::config { "content_filter": value => 'amavis:[127.0.0.1]:10024' }
}