2024-10-05 05:44:42 +00:00
|
|
|
* Usage (as of 2024)
|
|
|
|
** Intro
|
|
|
|
- Postfix can be started using "/usr/sbin/postfix start-fg"
|
|
|
|
- Logging is already configured for stdout
|
|
|
|
** Next todos
|
2024-10-05 10:30:20 +00:00
|
|
|
*** TODO Add simple authentication support
|
2024-10-05 05:44:42 +00:00
|
|
|
- so we can be used as a smarthost
|
2024-10-05 10:30:20 +00:00
|
|
|
- might require dovecot for sasl auth
|
2024-10-05 05:44:42 +00:00
|
|
|
* Stuff to do (before 2024)
|
2024-02-20 13:46:14 +00:00
|
|
|
** PROGRESS Add smtp support (postfix?)
|
|
|
|
** PROGRESS Add imap support
|
2024-10-05 05:44:42 +00:00
|
|
|
- maybe later?
|
2024-02-20 13:46:14 +00:00
|
|
|
** PROGRESS Define where/how to save mails
|
|
|
|
- /data would be fitting
|
2024-02-20 13:28:48 +00:00
|
|
|
** 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)
|
2024-10-05 05:44:42 +00:00
|
|
|
** DONE add stdout logging
|
|
|
|
CLOSED: [2024-10-05 Sat 14:37]
|
2024-02-20 13:46:14 +00:00
|
|
|
|
|
|
|
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".
|
2024-02-23 09:42:39 +00:00
|
|
|
** TODO Check EAI support
|
|
|
|
- https://en.m.wikipedia.org/wiki/International_email
|
|
|
|
- https://www.icann.org/get-ua-ready-en
|