aboutsummaryrefslogtreecommitdiffstats
path: root/custom/conf
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2022-03-18 14:19:02 +0000
committerGitHub <noreply@github.com>2022-03-18 15:19:02 +0100
commitfda5b9fc3e6dd831987979f37fe39f08963b875d (patch)
tree49fa8108d0a7e36a804c05649814fbb286841bbb /custom/conf
parent7fc5fd6415f92120811747681bcde9ed42825151 (diff)
downloadgitea-fda5b9fc3e6dd831987979f37fe39f08963b875d.tar.gz
gitea-fda5b9fc3e6dd831987979f37fe39f08963b875d.zip
Add warning to set SENDMAIL_ARGS to -- (#19102)
Even with #17688 email addresses that contain an initial `-` may still be present in the db and it may in future still be possible to imagine a situation whereby initial `-` are repermitted. This PR simply updates the documentation to warn users to set their SENDMAIL_ARGS with a terminal `--` to prevent this possibility email addresses being interpreted as options. Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'custom/conf')
-rw-r--r--custom/conf/app.example.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index c4d5413a6c..4ea658dac2 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -1533,6 +1533,7 @@ PATH =
;SENDMAIL_PATH = sendmail
;;
;; Specify any extra sendmail arguments
+;; WARNING: if your sendmail program interprets options you should set this to "--" or terminate these args with "--"
;SENDMAIL_ARGS =
;;
;; Timeout for Sendmail