From 62c8a5b159e2ae3402880196780bfc466cb26137 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 25 Aug 2010 15:09:32 -0300 Subject: Managing sympa and postfix integration --- manifests/sympa.pp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'manifests/sympa.pp') 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'; + } } -- cgit v1.2.3