projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
eximconf: reject bounces to "neversender" addresses
[mirror/dsa-puppet.git]
/
modules
/
roles
/
manifests
/
mailrelay.pp
diff --git
a/modules/roles/manifests/mailrelay.pp
b/modules/roles/manifests/mailrelay.pp
index
87b9263
..
6be074e
100644
(file)
--- a/
modules/roles/manifests/mailrelay.pp
+++ b/
modules/roles/manifests/mailrelay.pp
@@
-37,4
+37,12
@@
class roles::mailrelay {
port => 'submission',
}
Ferm::Rule::Simple <<| tag == 'smtp::server::submission::to::mail-relay' |>>
port => 'submission',
}
Ferm::Rule::Simple <<| tag == 'smtp::server::submission::to::mail-relay' |>>
+
+ $autocertdir = hiera('paths.auto_certs_dir')
+ dnsextras::tlsa_record{ 'tlsa-submission':
+ zone => 'debian.org',
+ certfile => "${autocertdir}/${::fqdn}.crt",
+ port => 587,
+ hostname => $::fqdn,
+ }
}
}