.. | ||
archived_entrypoint.sh | ||
Dockerfile-debian-postfix-only | ||
Dockerfile_3.19 | ||
Dockerfile_3.20 | ||
README.org |
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".