.. | ||
archived_entrypoint.sh | ||
Dockerfile-debian-postfix-only | ||
Dockerfile_3.19 | ||
Dockerfile_3.20 | ||
README.org |
Stuff to do (before 2024)
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
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".