From e86a0bf3feab82c1b3439806245083dffb2f37c9 Mon Sep 17 00:00:00 2001 From: Jonas Bröms Date: Wed, 25 Oct 2017 21:27:25 +0200 Subject: 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 --- conf/app.ini | 2 ++ 1 file changed, 2 insertions(+) (limited to 'conf/app.ini') diff --git a/conf/app.ini b/conf/app.ini index 3e07b98e69..0ce8aae52e 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -327,6 +327,8 @@ SEND_AS_PLAIN_TEXT = false USE_SENDMAIL = false ; Specify an alternative sendmail binary SENDMAIL_PATH = sendmail +; Specify any extra sendmail arguments +SENDMAIL_ARGS = [cache] ; Either "memory", "redis", or "memcache", default is "memory" -- cgit v1.2.3