summaryrefslogtreecommitdiffstats
path: root/conf/app.ini
diff options
context:
space:
mode:
authorJonas Bröms <cez81@users.noreply.github.com>2017-10-25 21:27:25 +0200
committerLauris BH <lauris@nix.lv>2017-10-25 21:27:25 +0200
commite86a0bf3feab82c1b3439806245083dffb2f37c9 (patch)
tree8c47d111db8214dbbf3c291a43ad5793a49874b2 /conf/app.ini
parentSync MaxGitDiffLineCharacters with conf/app.ini (#2779) (diff)
downloadforgejo-e86a0bf3feab82c1b3439806245083dffb2f37c9.tar.xz
forgejo-e86a0bf3feab82c1b3439806245083dffb2f37c9.zip
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
Diffstat (limited to 'conf/app.ini')
-rw-r--r--conf/app.ini2
1 files changed, 2 insertions, 0 deletions
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"