changeset 496:a0371bbb73d7

proxy: improve description of --mail-user option. * Add to the description of --mail-user option so it is more clear that this is used for trying SMPT-AUTH and leaving it empty gives you an unauthorized mail connection.
author Bernhard Reiter <bernhard@intevation.de>
date Fri, 24 Aug 2018 14:34:59 +0200
parents ab5d2cf65f3c
children 6fbd5b83ae04
files pkg/config/config.go
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/config/config.go	Fri Aug 24 14:26:57 2018 +0200
+++ b/pkg/config/config.go	Fri Aug 24 14:34:59 2018 +0200
@@ -129,7 +129,7 @@
 
 	str("mail-host", "localhost", "server to send mail with")
 	ui("mail-port", 465, "port of server to send mail with")
-	str("mail-user", "gemma", "user to send mail with")
+	str("mail-user", "gemma", "user to authenticate against mail-host. Leave empty for trying to send without auth.")
 	str("mail-password", "", "password of user to send mail with")
 	str("mail-from", "noreply@localhost", "from line of mails")
 	str("mail-helo", "localhost", "name of server to send mail from.")