ungleich-containers/ungleich-mail
2024-10-16 21:50:38 +09:00
..
archived_entrypoint.sh ungleich-mail: document how to start services 2024-10-05 19:31:02 +09:00
Dockerfile-debian-postfix-only add debian/postfix version 2024-10-16 21:50:38 +09:00
Dockerfile_3.19 ungleich-mail: add alpine 3.20 version 2024-10-05 14:44:42 +09:00
Dockerfile_3.20 ungleich-mail: make dovecot log to stderr 2024-10-05 19:30:20 +09:00
README.org add debian/postfix version 2024-10-16 21:50:38 +09:00

Usage (as of 2024)

Intro

  • Postfix can be started using "/usr/sbin/postfix start-fg"
  • Logging is already configured for stdout

Next todos

TODO Add simple authentication support

  • so we can be used as a smarthost
  • might require dovecot for sasl auth

Stuff to do (before 2024)

PROGRESS Add smtp support (postfix?)

PROGRESS Add imap support

  • maybe later?

PROGRESS Define where/how to save mails

  • /data would be fitting
  • database as an option - that might require its own pvc

PROGRESS Add db support (?) or not?

  • all file based could be very easy
  • restarts are usually fine
  • requires dovecot in same containerx

TODO Define deployment requirements (such as SPF/DKIM etc)

DONE add stdout logging

CLOSED: [2024-10-05 Sat 14:37]

Logging to stdout is useful when Postfix runs in a container, as it eliminates a syslogd dependency.

Add the following line to master.cf if not already present (note: there must be no whitespace at the start of the line):

postlog unix-dgram n - n - 1 postlogd

Note: the service type "unix-dgram" was introduced with Postfix 3.4. Remove the above line before backing out to an older Postfix version.

Configure main.cf with "maillog_file = /dev/stdout".

Start Postfix with "postfix start-fg".