From f9f925230cee5c41f77357b7b1c8925e4a0caf7c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 27 Jun 2013 16:47:54 -0300 Subject: Be more explicit on virtual and transport regexps and allow more virtual domains to be defined --- manifests/sympa/domain.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 manifests/sympa/domain.pp (limited to 'manifests/sympa') diff --git a/manifests/sympa/domain.pp b/manifests/sympa/domain.pp new file mode 100644 index 0000000..7da9a89 --- /dev/null +++ b/manifests/sympa/domain.pp @@ -0,0 +1,11 @@ +define mail::sympa::domain() { + $subdomain = $name + + postfix::transport_regexp_snippet { 'sympa_transport_regexp': + content => template('mail/sympa/transport_regexp.erb'), + } + + postfix::virtual_regexp_snippet { 'sympa_virtual_regexp': + content => template('mail/sympa/virtual_regexp.erb'), + } +} -- cgit v1.2.3