Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Amin Vakil
infrastructure
Commits
eac26bfc
Verified
Commit
eac26bfc
authored
May 16, 2022
by
Kristian Klausen
🎉
Browse files
Bump MTA STS id to invalid cache
Fixes:
0b87cbfd
("mta_sts: Switch to enforce mode and bump max_age to 30 days")
parent
733a2133
Changes
2
Hide whitespace changes
Inline
Side-by-side
roles/mta_sts/templates/nginx.d.conf.j2
View file @
eac26bfc
...
...
@@ -32,6 +32,7 @@ server {
location = /.well-known/mta-sts.txt {
default_type text/plain;
# Remember to bump the MTA-STS id in tf-stage1/archlinux.tf
return 200 'version: STSv1\nmode: enforce\nmax_age: 2592000\nmx: {{ config.mx | join('\\nmx: ')}}\n';
}
...
...
tf-stage1/archlinux.tf
View file @
eac26bfc
...
...
@@ -193,8 +193,8 @@ locals {
"_smtp._tls.aur"
=
{
value
=
"v=TLSRPTv1;rua=mailto:postmaster@archlinux.org"
}
"_smtp._tls.master-key"
=
{
value
=
"v=TLSRPTv1;rua=mailto:postmaster@archlinux.org"
}
"_smtp._tls.lists"
=
{
value
=
"v=TLSRPTv1;rua=mailto:postmaster@archlinux.org"
}
# Generated with: date +%
s
"_mta-sts"
=
{
value
=
"v=STSv1; id=
1608210175
"
}
# Generated with: date +%
Y%m%d01
"_mta-sts"
=
{
value
=
"v=STSv1; id=
2022051601
"
}
"@"
=
{
value
=
"v=spf1 ip4:
${
hcloud_server
.
machine
[
"mail.archlinux.org"
].
ipv4_address
}
ip6:
${
hcloud_server
.
machine
[
"mail.archlinux.org"
].
ipv6_address
}
~all"
}
"mail"
=
{
value
=
"v=spf1 ip4:
${
hcloud_server
.
machine
[
"mail.archlinux.org"
].
ipv4_address
}
ip6:
${
hcloud_server
.
machine
[
"mail.archlinux.org"
].
ipv6_address
}
~all"
}
"aur"
=
{
value
=
"v=spf1 ip4:
${
hcloud_server
.
machine
[
"mail.archlinux.org"
].
ipv4_address
}
ip6:
${
hcloud_server
.
machine
[
"mail.archlinux.org"
].
ipv6_address
}
~all"
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment