Loading README.md +5 −0 Original line number Diff line number Diff line Loading @@ -131,6 +131,11 @@ A string to define the submission line in the /etc/postfix/master.cf file. Default: Undefined. Example: 'submission inet n - n - - smtpd'. ##### `master_entries` Array of strings containing additional entries for the /etc/postfix/master.cf file. Default: Undefined. Example: 'submission inet n - n - - smtpd'. ##### `mta` A Boolean to define whether to configure Postfix as a mail transfer agent. This option is mutually exclusive with the satellite Boolean. Default: False. Loading manifests/files.pp +1 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ class postfix::files { $master_smtp = $postfix::master_smtp $master_smtps = $postfix::master_smtps $master_submission = $postfix::master_submission $master_entries = $postfix::master_entries $myorigin = $postfix::myorigin $manage_root_alias = $postfix::manage_root_alias $root_mail_recipient = $postfix::root_mail_recipient Loading manifests/init.pp +3 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,8 @@ # # [*master_submission*] - (string) # # [*master_entries*] - (array of strings) # # [*mta*] - (boolean) Configure postfix minimally, as a simple MTA # # [*mydestination*] - (string) Loading Loading @@ -92,6 +94,7 @@ class postfix ( Optional[String] $master_smtp = undef, # postfix_master_smtp Optional[String] $master_smtps = undef, # postfix_master_smtps Optional[String] $master_submission = undef, # postfix_master_submission Optional[Array[String]] $master_entries = undef, # postfix_master_entries Boolean $mta = false, String $mydestination = '$myorigin', # postfix_mydestination String $mynetworks = '127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128', # postfix_mynetworks Loading templates/master.cf.common.erb +3 −0 Original line number Diff line number Diff line Loading @@ -31,3 +31,6 @@ sympa unix - n n - - pipe sympabounce unix - n n - - pipe flags=R user=sympa argv=/usr/lib/sympa/bin/bouncequeue ${user} <% end -%> <% if @master_entries %> <%= @master_entries.join("\n") %> <% end -%> Loading
README.md +5 −0 Original line number Diff line number Diff line Loading @@ -131,6 +131,11 @@ A string to define the submission line in the /etc/postfix/master.cf file. Default: Undefined. Example: 'submission inet n - n - - smtpd'. ##### `master_entries` Array of strings containing additional entries for the /etc/postfix/master.cf file. Default: Undefined. Example: 'submission inet n - n - - smtpd'. ##### `mta` A Boolean to define whether to configure Postfix as a mail transfer agent. This option is mutually exclusive with the satellite Boolean. Default: False. Loading
manifests/files.pp +1 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ class postfix::files { $master_smtp = $postfix::master_smtp $master_smtps = $postfix::master_smtps $master_submission = $postfix::master_submission $master_entries = $postfix::master_entries $myorigin = $postfix::myorigin $manage_root_alias = $postfix::manage_root_alias $root_mail_recipient = $postfix::root_mail_recipient Loading
manifests/init.pp +3 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,8 @@ # # [*master_submission*] - (string) # # [*master_entries*] - (array of strings) # # [*mta*] - (boolean) Configure postfix minimally, as a simple MTA # # [*mydestination*] - (string) Loading Loading @@ -92,6 +94,7 @@ class postfix ( Optional[String] $master_smtp = undef, # postfix_master_smtp Optional[String] $master_smtps = undef, # postfix_master_smtps Optional[String] $master_submission = undef, # postfix_master_submission Optional[Array[String]] $master_entries = undef, # postfix_master_entries Boolean $mta = false, String $mydestination = '$myorigin', # postfix_mydestination String $mynetworks = '127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128', # postfix_mynetworks Loading
templates/master.cf.common.erb +3 −0 Original line number Diff line number Diff line Loading @@ -31,3 +31,6 @@ sympa unix - n n - - pipe sympabounce unix - n n - - pipe flags=R user=sympa argv=/usr/lib/sympa/bin/bouncequeue ${user} <% end -%> <% if @master_entries %> <%= @master_entries.join("\n") %> <% end -%>