# smtp firewalling setup
###
@@ferm::rule::simple { "dsa-smtp-from-mailrelay-${::fqdn}":
- tag => 'smtp::server::from::mailrelay',
+ tag => 'smtp::server::to::mail-satellite',
description => 'Allow smtp access from a mailrelay',
port => '7', # will be overwritten on collection
saddr => $base::public_addresses,
}
}
- Ferm::Rule::Simple <<| tag == 'smtp::server::from::mailrelay' |>> {
+ Ferm::Rule::Simple <<| tag == 'smtp::server::to::mail-satellite' |>> {
port => $mailport == undef ? {
true => 25,
default => $mailport,