Skip to content

ordinary-dev/mta-sts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MTA-STS

A small server responding to the /.well-known/mta-sts.txt path.

Status: feature-complete, pull requests are accepted.

Preparation

You need to set up DNS records correctly, otherwise this server will be useless. The server must be available on the mta-sts subdomain.

Quick start

docker run -it -p 8080:8080 ghcr.io/ordinary-dev/mta-sts:v0.2.0

Configuration

All configuration is done through environment variables.

Server settings

Select one option:

  • SOCKET_PATH - Unix socket path, for example: /run/mta-sts.sock.
  • LISTEN_ADDRESS - Address for the server, for example: 127.0.0.1:8080.
  • PORT - The port used by the server, 8080 by default (deprecated, prefer LISTEN_ADDRESS).

MTA-STS settings

  • MTA_STS_MODE - one of the following values: enforce, testing or none (enforce by default)
  • MTA_STS_MAX_AGE - the maximum lifetime of the policy in seconds, default - 604800 (7 days)
  • MTA_STS_MX - list of mail servers separated by commas, for example: "mx1.example.com,mx2.example.com"

Docker-compose example

services:
  mta-sts:
    image: ghcr.io/ordinary-dev/mta-sts
    environment:
      MTA_STS_MX: mx.example.com
    ports:
      - 80:8080

About

Microservice for generating a page with MTA-STS settings.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy