https://github.com/jimeh/mta-sts-on-github-pages
Template repository for hosting MTA-STS (.well-known/mta-sts.txt) on GitHub Pages.
https://github.com/jimeh/mta-sts-on-github-pages
github-pages-template mta-sts
Last synced: 5 days ago
JSON representation
Template repository for hosting MTA-STS (.well-known/mta-sts.txt) on GitHub Pages.
- Host: GitHub
- URL: https://github.com/jimeh/mta-sts-on-github-pages
- Owner: jimeh
- Created: 2021-07-05T09:18:51.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-07T12:08:51.000Z (over 4 years ago)
- Last Synced: 2025-07-14T20:34:02.112Z (7 months ago)
- Topics: github-pages-template, mta-sts
- Homepage:
- Size: 6.84 KB
- Stars: 9
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MTA-STS on GitHub Pages
Template repository for hosting `mta-sts.YOURDOMAIN/.well-known/mta-sts.txt` on GitHub Pages.
For more information about MTA-STS, including details of required DNS record setup and options available, please see this article: https://www.mailhardener.com/kb/mta-sts
## Usage
- Add a `CNAME` DNS record at `mta-sts.YOURDOMAIN` pointing to `GITHUB_USER.github.io.`.
- Add a `TXT` DNS record at `_mta-sts.YOURDOMAIN` indicating the use of MTA-STS, and update the `id` value on policy change.
- Create a new repository from this template repository.
- Replace `YOURDOMAIN` with your custom domain in `CNAME`.
- Update `.well-known/mta-sts.txt` to set `mx` directives to match the MX DNS records of your domain.
- Turn on GitHub Pages (Settings > Pages) for the repository, using the root (`/`) of the main branch as source.
- Turn on Enforce HTTPS setting for GitHub Pages.