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:
91e7d63
)
Have the mailrelays store a firewall rule to allow incoming smtp on the other hosts
author
Peter Palfrader
<peter@palfrader.org>
Sat, 21 Sep 2019 15:34:24 +0000
(17:34 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 21 Sep 2019 16:21:16 +0000
(18:21 +0200)
modules/roles/manifests/mailrelay.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/mailrelay.pp
b/modules/roles/manifests/mailrelay.pp
index
f7c1a04
..
b84b13f
100644
(file)
--- a/
modules/roles/manifests/mailrelay.pp
+++ b/
modules/roles/manifests/mailrelay.pp
@@
-20,4
+20,13
@@
class roles::mailrelay {
username => $::fqdn,
password => $rabbit_password
}
+
+ # smtp firewalling setup
+ ###
+ @@ferm::rule::simple { "dsa-smtp-from-mailrelay-${::fqdn}":
+ tag => 'smtp::server::from::mailrelay',
+ description => 'Allow smtp access from a mailrelay',
+ port => '25',
+ saddr => $base::public_addresses,
+ }
}