diff options
author | Malfurious <m@lfurio.us> | 2024-06-14 23:21:59 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2024-06-15 17:41:53 -0400 |
commit | 7d2158a75b6ff294146444a6e1b51170d3f43010 (patch) | |
tree | 9ac8d354a77f1076dd97ab18c1eb7ddec3ddf961 /Dockerfile | |
parent | 5eb4f64c86a963c33b5958092b33924a43749e99 (diff) | |
download | mailnode-7d2158a75b6ff294146444a6e1b51170d3f43010.tar.gz mailnode-7d2158a75b6ff294146444a6e1b51170d3f43010.zip |
mlmmj: Integration with postfix
Incoming mail for an mlmmj list is caught by a virtual mapping and
directed via virtual transport to the mlmmj system for processing.
Outgoing mail is implicitly allowed since it originates from the
localhost.
The postfix entrypoint script now dynamically generates these mailing
list mappings on startup from data in the mlmmj spool directory, so user
configuration is minimal. In addition, the script will now sync the
user's mailing list parameters into the spool directory, thus
automatically creating new lists and deleting old ones.
The list creation logic is implemented in a new script `make_list.sh`.
This is made necessary as the mlmmj built in tooling for this must be
run interactively, so we duplicate the logic. This is separate from
`entrypoint.sh` mainly because we need to drop privileges to the mlmmj
user while creating files.
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -34,6 +34,7 @@ RUN apt update \ mlmmj \ postfix \ postfix-pcre \ + sudo \ && apt clean # Install files |