Add support for extra sendmail arguments (#2731)

* Add support for extra sendmail arguments

* Sendmail args to exec.command should be a list

* Add go-shellquote package

* Use go-shellquote lib for parsing Sendmail args

* Only parse if sendmail is configured
This commit is contained in:
Jonas Bröms 2017-10-25 21:27:25 +02:00 committed by Lauris BH
parent 3af5b67ed0
commit e86a0bf3fe
9 changed files with 322 additions and 0 deletions

3
vendor/github.com/kballard/go-shellquote/doc.go generated vendored Normal file
View file

@ -0,0 +1,3 @@
// Shellquote provides utilities for joining/splitting strings using sh's
// word-splitting rules.
package shellquote