Refactor: gomplate + debian 13 (#1)
All checks were successful
Build Docker images / docker (eumau/postfix, 6) (push) Successful in 13m5s
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:
6
templates/start.d/spamfilter
Executable file
6
templates/start.d/spamfilter
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# pass mail through spam filter Bogofilter
|
||||
# arguments are passed on to sendmail
|
||||
|
||||
/usr/bin/bogofilter -d /vmail/bogofilter -p {{ with getenv "BOGOFILTER_HAM_CUTOFF" }}--ham-cutoff '{{.}}'{{ end }} {{ with getenv "BOGOFILTER_SPAM_CUTOFF" }}--spam-cutoff '{{.}}'{{ end }} | /usr/sbin/sendmail "$@"
|
||||
Reference in New Issue
Block a user