From: Peter Palfrader Date: Sat, 21 Sep 2019 22:21:05 +0000 (+0200) Subject: On hosts that get mail via mailrelays, try to collect the ferm rule that will allow... X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=0421e66cccaa222db2aa846185cee2be121d694a;p=mirror%2Fdsa-puppet.git On hosts that get mail via mailrelays, try to collect the ferm rule that will allow access --- diff --git a/modules/roles/manifests/mta.pp b/modules/roles/manifests/mta.pp index e85c444c6..b985cd03a 100644 --- a/modules/roles/manifests/mta.pp +++ b/modules/roles/manifests/mta.pp @@ -31,6 +31,10 @@ class roles::mta( default => "${::fqdn}: ${::fqdn}::${mailport}", } } + + Ferm::Rule::Simple <<| tag == 'smtp::server::from::mailrelay' |>> { + port => $mailport + } } } } elsif $type == 'postfix' {