Sign inSign up

11notes/smtp

By 11notes

Updated over 2 years ago

Image
1

889

11notes/smtp repository overview

Banner

🏔️ Alpine - Stalwart SMTP

size version pulls activity commit-last stars

Simple SMTP relay with queues using Postgre and Redis

SYNOPSIS

What can I do with this? This image will provide you with a simple SMTP relay for ingress at your edge to filter and relay incoming emails. This image supports only PostgreSQL and Redis as directory and storage backend. It is intentionally slimmed down to provide ingress/egress at your edge, this is not a full email server, only the SMTP part. Use it for distributed ingress in different locations and relay all emails to a central core. Can be used for distributed egress as well.

VOLUMES

  • /smtp/etc - Directory of configuration files

RUN

docker run --name smtp \
  -v .../etc:/smtp/etc \
  -d 11notes/smtp:[tag]

DEFAULT SETTINGS

ParameterValueDescription
userdockeruser docker
uid1000user id 1000
gid1000group id 1000
home/smtphome directory of user docker
config/smtp/etc/config.tomlconfig

ENVIRONMENT

ParameterValueDefault
TZTime Zone
DEBUGShow debug information

PARENT IMAGE

BUILT WITH

TIPS

  • Only use rootless container runtime (podman, rootless docker)
  • Allow non-root ports < 1024 via echo "net.ipv4.ip_unprivileged_port_start=53" > /etc/sysctl.d/ports.conf
  • Use a reverse proxy like Traefik, Nginx to terminate TLS with a valid certificate
  • Use Let’s Encrypt certificates to protect your SSL endpoints

ElevenNotes™️

This image is provided to you at your own risk. Always make backups before updating an image to a new version. Check the changelog for breaking changes.

Tag summary

Content type

Image

Digest

sha256:baf84407e

Size

42.4 MB

Last updated

over 2 years ago

docker pull 11notes/smtp:0.6.0