diff --git a/confd/templates/spamfilter.tmpl b/confd/templates/spamfilter.tmpl index 4320f65..89b0b14 100755 --- a/confd/templates/spamfilter.tmpl +++ b/confd/templates/spamfilter.tmpl @@ -3,4 +3,4 @@ # pass mail through spam filter Bogofilter # arguments are passed on to sendmail -/usr/bin/bogofilter -d /vmail/bogofilter -p {{ with getv "/bogofilter/ham/cutoff" }}--ham-cutoff {{.}}{{ end }} {{ with getv "/bogofilter/spam/cutoff" }}--spam-cutoff {{.}}{{ end }} | /usr/sbin/sendmail "$@" +/usr/bin/bogofilter -d /vmail/bogofilter -p {{ with getv "/bogofilter/ham/cutoff" }}--ham-cutoff '{{.}}'{{ end }} {{ with getv "/bogofilter/spam/cutoff" }}--spam-cutoff '{{.}}'{{ end }} | /usr/sbin/sendmail "$@"