gSTS

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2023 License: MIT Imports: 5 Imported by: 0

README

gSTS - simple MTA-STS setup

This is an overly complicated way to set up MTA-STS. Or maybe not?

I wrote this server to make it easy to set up multiple mail servers.

Configuration

You need to set up dns records correctly, otherwise this server will be useless. This container needs to be launched at: mta-sts.your-domain.com. As a result, a file for configuring mta-sts will be available at /.well-known/mta-sts.txt. All configuration is done through environment variables.

Environment variables

  • PORT - the port used by the server, 8080 by default
  • 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)
  • MTS_STS_MX - list of mail servers separated by commas, for example: "mx1.domain.com,mx2.domain.com"

Docker-compose example

services:
  gsts:
    image: ghcr.io/ordinary-dev/gsts
    environment:
      - MTA_STS_MX=mx.domain.com

Learn more

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL