Gomplate + Debian 13

This commit is contained in:
Mauro Torrez
2026-01-17 23:52:34 -03:00
parent f474d081a0
commit 48fff2b6f2
22 changed files with 267 additions and 342 deletions

View 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 {{ if getenv "BOGOFILTER_HAM_CUTOFF" }}--ham-cutoff '{{ getenv "BOGOFILTER_HAM_CUTOFF" }}'{{ end }} {{ if getenv "BOGOFILTER_SPAM_CUTOFF" }}--spam-cutoff '{{ getenv "BOGOFILTER_SPAM_CUTOFF" }}'{{ end }} | /usr/sbin/sendmail "$@"