21 lines
507 B
Puppet
21 lines
507 B
Puppet
define eid::relay() {
|
|
package {'postfix': ensure => latest}
|
|
package {'sasl2-bin': ensure => latest}
|
|
package {'libsasl2-modules': ensure => latest}
|
|
package {'opendkim': ensure => latest}
|
|
|
|
|
|
$submission_ip = hiera_array('submission_ip',[]);
|
|
|
|
sunet::misc::ufw_allow { "allow-submission-clients":
|
|
from => $submission_ip,
|
|
port => '587',
|
|
}
|
|
|
|
sunet::misc::ufw_allow { "allow-dhcp6-546":
|
|
from => 'any',
|
|
to => 'fe80::/64'
|
|
port => '546',
|
|
proto => 'udp',
|
|
}
|
|
}
|