Files
docker-image-postfix/templates/start.d/10_milter
Mauro Torrez 9a31fb86f3
All checks were successful
Build Docker images / docker (eumau/postfix, 6) (push) Successful in 14m58s
Rename start.d scripts to preserve order
2026-01-19 12:15:30 -03:00

7 lines
359 B
Bash
Executable File

#!/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 }}