-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Support MTA-STS out of the box #3590
Copy link
Copy link
Closed
Labels
area/featuresarea/securitykind/new featureA new feature is requested in this issue or implemeted with this PRA new feature is requested in this issue or implemeted with this PRmeta/closed due to age or inactivityThis issue / PR has been closed due to inactivityThis issue / PR has been closed due to inactivitymeta/staleThis issue / PR has become stale and will be closed if there is no further activityThis issue / PR has become stale and will be closed if there is no further activityservice/postfix
Milestone
Metadata
Metadata
Assignees
Labels
area/featuresarea/securitykind/new featureA new feature is requested in this issue or implemeted with this PRA new feature is requested in this issue or implemeted with this PRmeta/closed due to age or inactivityThis issue / PR has been closed due to inactivityThis issue / PR has been closed due to inactivitymeta/staleThis issue / PR has become stale and will be closed if there is no further activityThis issue / PR has become stale and will be closed if there is no further activityservice/postfix
Context
MTA-STS is the equivalent to HSTS, e.g. a mechanism for a domain to declare that STARTTLS is supported and should be used, even if the initial SMTP exchange is intercepted by bad actors. The protocol is overcomplicated involving both DNS records and HTTPS, but the necessary glue in DMS is minimal.
Description
Install
postfix-mta-sts-resolveras part of the container image. Introduce a new flag ENABLE_OUTGOING_MTA_STS flag. If it is set, start/etc/init.d/postfix-mta-sts-resolverand add:to
/etc/postfix/main.cf.Alternatives
Running
postfix-mta-sts-resolverin a separate container is possible, but messy. Current (temporary) workaround is doing ituser-patches.sh.Applicable Users
Anyone sending mails to Gmail and Outlook.
Are you going to implement it?
Yes, because I know the probability of someone else doing it is low and I can learn from it.
What are you going to contribute?
If no one bets me to it, I'll sort out the necessary changes, but the description is pretty much all that is needed beside documentation.