SMTP port configurable through notification-email-server-port. Defaults to 25.

This commit is contained in:
Fabrizio Steiner 2017-12-27 20:25:49 +01:00
parent 4c63746feb
commit c463241bc7
3 changed files with 12 additions and 1 deletions

View file

@ -111,6 +111,12 @@ func main() {
Usage: "SMTP server to send notification e-mails through",
EnvVar: "WATCHTOWER_NOTIFICATION_EMAIL_SERVER",
},
cli.IntFlag{
Name: "notification-email-server-port",
Usage: "SMTP server port to send notification e-mails through",
Value: 25,
EnvVar: "WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT",
},
cli.StringFlag{
Name: "notification-email-server-user",
Usage: "SMTP server user for sending notifications",