# include roles::mailrelay
#
class roles::mailrelay {
+ include exim::mx
+
include roles::pubsub::parameters
$rabbit_password = $roles::pubsub::parameters::rabbit_password
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,
+ }
}