add quotes to parameter passed by envvar
This commit is contained in:
parent
fcea79f08f
commit
de65305e35
@ -3,4 +3,4 @@
|
|||||||
# pass mail through spam filter Bogofilter
|
# pass mail through spam filter Bogofilter
|
||||||
# arguments are passed on to sendmail
|
# 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 "$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user