Refactor: gomplate + debian 13 (#1)
All checks were successful
Build Docker images / docker (eumau/postfix, 6) (push) Successful in 13m5s

Co-authored-by: Mauro Torrez <mauro@layer7.mx>
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2026-01-18 03:51:53 +00:00
parent f474d081a0
commit 09416c743c
22 changed files with 143 additions and 239 deletions

6
templates/start.d/setup_milter Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
{{ with getenv "INTERNAL_MAIL_FILTER_CLASSES" }}postconf internal_mail_filter_classes='{{.}}'{{ end }}
{{ with getenv "MILTER_DEFAULT_ACTION" }}postconf milter_default_action='{{.}}'{{ end }}
{{ with getenv "NON_SMTPD_MILTERS" }}postconf non_smtpd_milters='{{.}}'{{ end }}
{{ with getenv "SMTPD_MILTERS" }}postconf smtpd_milters='{{.}}'{{ end }}