Update MTA-STS policy file and README for clarity and configuration guidance

This commit is contained in:
2025-06-09 11:07:22 +06:00
parent e035f58b65
commit 2dd34ce670
2 changed files with 21 additions and 7 deletions

View File

@@ -1,7 +1,21 @@
# MTA-STS Policy File for lewsion.com
# For more information, see: https://tools.ietf.org/html/rfc8461
version: STSv1 version: STSv1
mode: [enforce|testing|none] # 1. Decide your mode. # Policy version. Always 'STSv1' as per RFC 8461.
mx: mx1.your_domain.tld # 2. Add your primary mailserver hostname (see MX records in your DNS)
mx: mx2.your_domain.tld # 3. If you have secondary mailservers, add one line for each. mode: testing
# In case all servers share the same subdomain, you may also use wildcards like *.mail.protection.outlook.com # Policy mode. Possible values:
max_age: 1209600 # 4. Depending on your mode above, 1209600 seconds = 2 weeks might be a good value. # enforce - Enforce the policy (recommended for production)
# 5. Remove all the comments (if that wasn't obvious to you). # testing - Report violations but do not enforce (use for testing)
# none - Disable MTA-STS
mx: mail.lewsion.com
# 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: 1209600
# Policy lifetime in seconds (e.g., 1209600 = 14 days).
# Increase for production, decrease for testing.

View File

@@ -42,7 +42,7 @@ In case the sending e-mail server is not able to initiate a secure connection, i
_Optional (but **highly recommended**):_ _Optional (but **highly recommended**):_
7. Create another `TXT` record for `_smtp._tls.<your_domain.tld>` in your domain's DNS to enable reporting (see [RFC 8460](https://datatracker.ietf.org/doc/html/rfc8460)). 1. Create another `TXT` record for `_smtp._tls.<your_domain.tld>` in your domain's DNS to enable reporting (see [RFC 8460](https://datatracker.ietf.org/doc/html/rfc8460)).
You may copy & paste this to your DNS provider: You may copy & paste this to your DNS provider:
```dns ```dns