Scaffold postfix smarthost image #1

Merged
benvin merged 1 commits from benvin/scaffold into main 2026-10-12 21:20:57 +11:00
Member

The mail namespace needs a postfix smarthost between the DMZ gateways and Stalwart, with all config supplied by ConfigMaps at runtime.

  • add alma9 image with postfix plus lmdb/pcre map modules, postfix start-fg, logs to stdout
  • add a test stage that runs postfix check and delivers one STARTTLS message through every map type to an LMTP sink
  • add Woodpecker build (runs the test stage), pre-commit and tag-driven release
  • add Makefile, pre-commit hooks and the distro matrix guard
The mail namespace needs a postfix smarthost between the DMZ gateways and Stalwart, with all config supplied by ConfigMaps at runtime. - add alma9 image with postfix plus lmdb/pcre map modules, `postfix start-fg`, logs to stdout - add a test stage that runs `postfix check` and delivers one STARTTLS message through every map type to an LMTP sink - add Woodpecker build (runs the test stage), pre-commit and tag-driven release - add Makefile, pre-commit hooks and the distro matrix guard
unkin-agent added 1 commit 2026-10-12 00:32:51 +11:00
Scaffold postfix smarthost image
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
8736092555
Author
Member
  • test/smoke.sh:7 — nit: cp main.cf replaces the image's main.cf, so the Dockerfile's postconf -e maillog_file=/dev/stdout is never exercised (test/main.cf sets it itself) → drop maillog_file from test/main.cf so the image default is what the test relies on.
  • README.md (Tests) — nit: README lists texthash/inline maps as shipped but the smoke covers only lmdb, hash, pcre, regexp → add one texthash: lookup to the smoke or drop them from the README.
- test/smoke.sh:7 — nit: `cp main.cf` replaces the image's main.cf, so the Dockerfile's `postconf -e maillog_file=/dev/stdout` is never exercised (test/main.cf sets it itself) → drop `maillog_file` from test/main.cf so the image default is what the test relies on. - README.md (Tests) — nit: README lists `texthash`/`inline` maps as shipped but the smoke covers only lmdb, hash, pcre, regexp → add one `texthash:` lookup to the smoke or drop them from the README.
benvin merged commit 3e21fd6b18 into main 2026-10-12 21:20:57 +11:00
benvin deleted branch benvin/scaffold 2026-10-12 21:20:57 +11:00
Sign in to join this conversation.