Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
Puppet Camptocamp Postfix
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projets publics
Puppet Camptocamp Postfix
Commits
6bee7abb
Commit
6bee7abb
authored
Feb 25, 2019
by
treydock
Committed by
Raphaël Pinson
Feb 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add master_bounce_command and master_defer_command (#239)
parent
dc200b05
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
24 additions
and
16 deletions
+24
-16
manifests/files.pp
manifests/files.pp
+2
-0
manifests/init.pp
manifests/init.pp
+6
-0
templates/master.cf.SLES11.2.erb
templates/master.cf.SLES11.2.erb
+2
-2
templates/master.cf.SLES11.3.erb
templates/master.cf.SLES11.3.erb
+2
-2
templates/master.cf.SLES11.4.erb
templates/master.cf.SLES11.4.erb
+2
-2
templates/master.cf.SLES12.2.erb
templates/master.cf.SLES12.2.erb
+2
-2
templates/master.cf.SLES12.3.erb
templates/master.cf.SLES12.3.erb
+2
-2
templates/master.cf.debian.erb
templates/master.cf.debian.erb
+2
-2
templates/master.cf.redhat.erb
templates/master.cf.redhat.erb
+2
-2
templates/master.cf.sles.erb
templates/master.cf.sles.erb
+2
-2
No files found.
manifests/files.pp
View file @
6bee7abb
...
...
@@ -12,6 +12,8 @@ class postfix::files {
$master_smtps
=
$postfix::master_smtps
$master_submission
=
$postfix::master_submission
$master_entries
=
$postfix::master_entries
$master_bounce_command
=
$postfix::master_bounce_command
$master_defer_command
=
$postfix::master_defer_command
$myorigin
=
$postfix::myorigin
$manage_root_alias
=
$postfix::manage_root_alias
$root_mail_recipient
=
$postfix::root_mail_recipient
...
...
manifests/init.pp
View file @
6bee7abb
...
...
@@ -40,6 +40,10 @@
#
# [*master_entries*] - (array of strings)
#
# [*master_bounce_command*] - (string)
#
# [*master_defer_command*] - (string)
#
# [*mta*] - (boolean) Configure postfix minimally, as a simple MTA
#
# [*mydestination*] - (string)
...
...
@@ -96,6 +100,8 @@ class postfix (
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
String
$master_bounce_command
=
'bounce'
,
String
$master_defer_command
=
'bounce'
,
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
...
...
templates/master.cf.SLES11.2.erb
View file @
6bee7abb
...
...
@@ -30,8 +30,8 @@ qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
#tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - -
<%=
@jail
%>
- - trivial-rewrite
bounce unix - -
<%=
@jail
%>
- 0
bounce
defer unix - -
<%=
@jail
%>
- 0
bounce
bounce unix - -
<%=
@jail
%>
- 0
<%=
@master_bounce_command
%>
defer unix - -
<%=
@jail
%>
- 0
<%=
@master_defer_command
%>
trace unix - -
<%=
@jail
%>
- 0 bounce
verify unix - -
<%=
@jail
%>
- 1 verify
flush unix n -
<%=
@jail
%>
1000? 0 flush
...
...
templates/master.cf.SLES11.3.erb
View file @
6bee7abb
...
...
@@ -30,8 +30,8 @@ qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
#tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - -
<%=
@jail
%>
- - trivial-rewrite
bounce unix - -
<%=
@jail
%>
- 0
bounce
defer unix - -
<%=
@jail
%>
- 0
bounce
bounce unix - -
<%=
@jail
%>
- 0
<%=
@master_bounce_command
%>
defer unix - -
<%=
@jail
%>
- 0
<%=
@master_defer_command
%>
trace unix - -
<%=
@jail
%>
- 0 bounce
verify unix - -
<%=
@jail
%>
- 1 verify
flush unix n -
<%=
@jail
%>
1000? 0 flush
...
...
templates/master.cf.SLES11.4.erb
View file @
6bee7abb
...
...
@@ -29,8 +29,8 @@ qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - -
<%=
@jail
%>
1000? 1 tlsmgr
rewrite unix - -
<%=
@jail
%>
- - trivial-rewrite
bounce unix - -
<%=
@jail
%>
- 0
bounce
defer unix - -
<%=
@jail
%>
- 0
bounce
bounce unix - -
<%=
@jail
%>
- 0
<%=
@master_bounce_command
%>
defer unix - -
<%=
@jail
%>
- 0
<%=
@master_defer_command
%>
trace unix - -
<%=
@jail
%>
- 0 bounce
verify unix - -
<%=
@jail
%>
- 1 verify
flush unix n -
<%=
@jail
%>
1000? 0 flush
...
...
templates/master.cf.SLES12.2.erb
View file @
6bee7abb
...
...
@@ -62,8 +62,8 @@ qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
#tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0
bounce
defer unix - - n - 0
bounce
bounce unix - - n - 0
<%=
@master_bounce_command
%>
defer unix - - n - 0
<%=
@master_defer_command
%>
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
...
...
templates/master.cf.SLES12.3.erb
View file @
6bee7abb
...
...
@@ -62,8 +62,8 @@ qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
#tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0
bounce
defer unix - - n - 0
bounce
bounce unix - - n - 0
<%=
@master_bounce_command
%>
defer unix - - n - 0
<%=
@master_defer_command
%>
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
...
...
templates/master.cf.debian.erb
View file @
6bee7abb
...
...
@@ -35,8 +35,8 @@ qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - -
<%=
@jail
%>
1000? 1 tlsmgr
rewrite unix - -
<%=
@jail
%>
- - trivial-rewrite
bounce unix - -
<%=
@jail
%>
- 0
bounce
defer unix - -
<%=
@jail
%>
- 0
bounce
bounce unix - -
<%=
@jail
%>
- 0
<%=
@master_bounce_command
%>
defer unix - -
<%=
@jail
%>
- 0
<%=
@master_defer_command
%>
trace unix - -
<%=
@jail
%>
- 0 bounce
verify unix - -
<%=
@jail
%>
- 1 verify
flush unix n -
<%=
@jail
%>
1000? 0 flush
...
...
templates/master.cf.redhat.erb
View file @
6bee7abb
...
...
@@ -36,8 +36,8 @@ qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - -
<%=
@jail
%>
1000? 1 tlsmgr
rewrite unix - -
<%=
@jail
%>
- - trivial-rewrite
bounce unix - -
<%=
@jail
%>
- 0
bounce
defer unix - -
<%=
@jail
%>
- 0
bounce
bounce unix - -
<%=
@jail
%>
- 0
<%=
@master_bounce_command
%>
defer unix - -
<%=
@jail
%>
- 0
<%=
@master_defer_command
%>
trace unix - -
<%=
@jail
%>
- 0 bounce
verify unix - -
<%=
@jail
%>
- 1 verify
flush unix n -
<%=
@jail
%>
1000? 0 flush
...
...
templates/master.cf.sles.erb
View file @
6bee7abb
...
...
@@ -62,8 +62,8 @@ qmgr unix n - n 300 1 qmgr
#qmgr unix n - n 300 1 oqmgr
tlsmgr unix - -
<%=
@jail
%>
1000? 1 tlsmgr
rewrite unix - -
<%=
@jail
%>
- - trivial-rewrite
bounce unix - -
<%=
@jail
%>
- 0
bounce
defer unix - -
<%=
@jail
%>
- 0
bounce
bounce unix - -
<%=
@jail
%>
- 0
<%=
@master_bounce_command
%>
defer unix - -
<%=
@jail
%>
- 0
<%=
@master_defer_command
%>
trace unix - -
<%=
@jail
%>
- 0 bounce
verify unix - -
<%=
@jail
%>
- 1 verify
flush unix n -
<%=
@jail
%>
1000? 0 flush
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment