diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-08-25 15:09:32 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-08-25 15:09:32 -0300 |
commit | 62c8a5b159e2ae3402880196780bfc466cb26137 (patch) | |
tree | 38458f44b7b5332d488911e47b52d50074b4797f /manifests/sympa.pp | |
parent | 306fd0f909cef9b82292788f91bd7d7d2cc773c6 (diff) | |
download | puppet-mail-62c8a5b159e2ae3402880196780bfc466cb26137.tar.gz puppet-mail-62c8a5b159e2ae3402880196780bfc466cb26137.tar.bz2 |
Managing sympa and postfix integration
Diffstat (limited to 'manifests/sympa.pp')
-rw-r--r-- | manifests/sympa.pp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/manifests/sympa.pp b/manifests/sympa.pp index 2ce336b..b604006 100644 --- a/manifests/sympa.pp +++ b/manifests/sympa.pp @@ -31,4 +31,27 @@ class mail::sympa { content => template('mail/sympa/sympa.conf.erb'), require => [ File['/etc/sympa'], User['sympa'] ], } + + file { "/etc/postfix/transport_regexp": + ensure => present, + owner => root, + group => root, + mode => 0644, + content => template('mail/postfix/transport_regexp.erb'), + notify => Service['postfix'], + } + + file { "/etc/postfix/virtual_regexp": + ensure => present, + owner => root, + group => root, + mode => 0644, + content => template('mail/postfix/virtual_regexp.erb'), + notify => Service['postfix'], + } + + postfix::config { + "sympa_destination_recipient_limit": value => '1'; + "sympabounce_destination_recipient_limit": value => '1'; + } } |