Loading manifests/transport.pp +10 −3 Original line number Diff line number Diff line Loading @@ -26,12 +26,19 @@ # ensure => present, # } # postfix::config { 'transport_maps': # value => 'hash:/etc/postfix/transport', # value => 'hash:/etc/postfix/transport, regexp:/etc/postfix/transport_regexp', # } # postfix::transport { 'mailman.example.com': # postfix::transport { # 'mailman.example.com': # ensure => present, # destination => 'mailman', # destination => 'mailman'; # 'slow_transport': # ensure => present, # nexthop => '/^user-.*@mydomain\.com/' # file => '/etc/postfix/transport_regexp', # destination => 'slow' # } # # } # define postfix::transport ( Loading manifests/virtual.pp +7 −2 Original line number Diff line number Diff line Loading @@ -25,14 +25,19 @@ # ensure => present, # } # postfix::config { "virtual_alias_maps": # value => "hash:/etc/postfix/virtual" # value => "hash:/etc/postfix/virtual, regexp:/etc/postfix/virtual_regexp" # } # postfix::virtual { "user@example.com": # ensure => present, # destination => ['root', 'postmaster'], # } # postfix::virtual { "/.+@.+/" # ensure => present, # file => '/etc/postfix/virtual_regexp', # destination => 'root', # } # # } define postfix::virtual ( Variant[String, Array[String]] $destination, Stdlib::Absolutepath $file='/etc/postfix/virtual', Loading Loading
manifests/transport.pp +10 −3 Original line number Diff line number Diff line Loading @@ -26,12 +26,19 @@ # ensure => present, # } # postfix::config { 'transport_maps': # value => 'hash:/etc/postfix/transport', # value => 'hash:/etc/postfix/transport, regexp:/etc/postfix/transport_regexp', # } # postfix::transport { 'mailman.example.com': # postfix::transport { # 'mailman.example.com': # ensure => present, # destination => 'mailman', # destination => 'mailman'; # 'slow_transport': # ensure => present, # nexthop => '/^user-.*@mydomain\.com/' # file => '/etc/postfix/transport_regexp', # destination => 'slow' # } # # } # define postfix::transport ( Loading
manifests/virtual.pp +7 −2 Original line number Diff line number Diff line Loading @@ -25,14 +25,19 @@ # ensure => present, # } # postfix::config { "virtual_alias_maps": # value => "hash:/etc/postfix/virtual" # value => "hash:/etc/postfix/virtual, regexp:/etc/postfix/virtual_regexp" # } # postfix::virtual { "user@example.com": # ensure => present, # destination => ['root', 'postmaster'], # } # postfix::virtual { "/.+@.+/" # ensure => present, # file => '/etc/postfix/virtual_regexp', # destination => 'root', # } # # } define postfix::virtual ( Variant[String, Array[String]] $destination, Stdlib::Absolutepath $file='/etc/postfix/virtual', Loading