projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e4ccd5
)
On non-satellites, allow smtp from the world
author
Peter Palfrader
<peter@palfrader.org>
Sun, 22 Sep 2019 09:17:13 +0000
(11:17 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sun, 22 Sep 2019 09:17:13 +0000
(11:17 +0200)
modules/roles/manifests/mta.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/mta.pp
b/modules/roles/manifests/mta.pp
index
b91afbd
..
2c0ca4e
100644
(file)
--- a/
modules/roles/manifests/mta.pp
+++ b/
modules/roles/manifests/mta.pp
@@
-49,5
+49,9
@@
class roles::mta(
if ! defined(Class['exim::mx']) and ! defined(Class['postfix']) {
fail('We are not an exim::mx (or a postfix) yet do not have set our MXs to INCOMING-MX.')
}
+ ferm::rule::simple { 'dsa-smtp':
+ description => 'Allow smtp access from the world',
+ port => '25',
+ }
}
}