comparison pkg/config/config.go @ 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 8f3f7577fbe7
children 7e45aaec7081
comparison
equal deleted inserted replaced
494:ab5d2cf65f3c 496:a0371bbb73d7
127 strP("host", "o", "localhost", "host of the web app") 127 strP("host", "o", "localhost", "host of the web app")
128 uiP("port", "p", 8000, "port of the web app") 128 uiP("port", "p", 8000, "port of the web app")
129 129
130 str("mail-host", "localhost", "server to send mail with") 130 str("mail-host", "localhost", "server to send mail with")
131 ui("mail-port", 465, "port of server to send mail with") 131 ui("mail-port", 465, "port of server to send mail with")
132 str("mail-user", "gemma", "user to send mail with") 132 str("mail-user", "gemma", "user to authenticate against mail-host. Leave empty for trying to send without auth.")
133 str("mail-password", "", "password of user to send mail with") 133 str("mail-password", "", "password of user to send mail with")
134 str("mail-from", "noreply@localhost", "from line of mails") 134 str("mail-from", "noreply@localhost", "from line of mails")
135 str("mail-helo", "localhost", "name of server to send mail from.") 135 str("mail-helo", "localhost", "name of server to send mail from.")
136 136
137 strSl("allowed-origins", allowedOrigins, "allow access for remote origins") 137 strSl("allowed-origins", allowedOrigins, "allow access for remote origins")