Refactor MTA-STS policy files: streamline index.html, update mta-sts.txt, and add comprehensive mta-sts.md example file

This commit is contained in:
2025-06-10 15:36:51 +06:00
parent 4a3ef8ada1
commit 1214192774
3 changed files with 48 additions and 19 deletions

View File

@@ -3,4 +3,4 @@
<meta name="robots" content="noindex">
<title>Redirecting to mta-sts.txt</title>
<meta http-equiv="refresh" content="0; URL=mta-sts.txt">
<link rel="canonical" href="mta-sts.txt">
<link rel="canonical" href="mta-sts.txt">

View File

@@ -1,22 +1,5 @@
# MTA-STS Policy File for lewsion.com
# For more information, see: https://tools.ietf.org/html/rfc8461
version: STSv1
# Policy version. Always 'STSv1' as per RFC 8461.
mode: enforce
# Policy mode. Possible values:
# enforce - Enforce the policy (recommended for production)
# testing - Report violations but do not enforce (use for testing)
# none - Disable MTA-STS
mx: mx1.forwardemail.net
mx: mx2.forwardemail.net
# Primary mail server hostname (must match your DNS MX records).
# Add additional 'mx:' lines for each secondary mail server if needed.
# Example:
# mx: mx2.lewsion.com
max_age: 604800
# Policy lifetime in seconds (e.g., 1209600 = 14 days).
# Increase for production, decrease for testing.
max_age: 604800