diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-08-25 22:42:11 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-08-25 22:42:11 -0300 |
commit | 116bd8037b171f219880ba02c70a4c3c7d368324 (patch) | |
tree | c17189dc1077786f1b5c436a7ccc8722a1446171 /manifests | |
parent | 275f4b0758310c5e8143c549ebbdded58955f953 (diff) | |
download | puppet-mail-116bd8037b171f219880ba02c70a4c3c7d368324.tar.gz puppet-mail-116bd8037b171f219880ba02c70a4c3c7d368324.tar.bz2 |
Managing transport_regexp and virtual_regexp even if sympa is not being used
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/base.pp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/manifests/base.pp b/manifests/base.pp index 7aa96b1..f3b68e4 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -50,4 +50,26 @@ class mail::base { home => '/var/mail/virtual', require => Group['vmail'], } + + # Sympa mailing list manager + case $mail_sympa { + true: { } + default: { + file { "/etc/postfix/transport_regexp": + ensure => present, + owner => root, + group => root, + mode => 0644, + notify => Service['postfix'], + } + + file { "/etc/postfix/virtual_regexp": + ensure => present, + owner => root, + group => root, + mode => 0644, + notify => Service['postfix'], + } + } + } } |