From 4e81929d5122cc6d927d187ffef7a4b53b25abc5 Mon Sep 17 00:00:00 2001 From: zionwu Date: Tue, 24 Apr 2018 10:10:41 +0800 Subject: [PATCH] Change default smtp port to 587 --- apis/management.cattle.io/v3/alerting_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/management.cattle.io/v3/alerting_types.go b/apis/management.cattle.io/v3/alerting_types.go index 4a34fde0..0b7bfa67 100644 --- a/apis/management.cattle.io/v3/alerting_types.go +++ b/apis/management.cattle.io/v3/alerting_types.go @@ -134,7 +134,7 @@ type Notification struct { type SMTPConfig struct { Host string `json:"host,omitempty" norman:"required,type=dnsLabel"` - Port int `json:"port,omitempty" norman:"required,min=1,max=65535,default=465"` + Port int `json:"port,omitempty" norman:"required,min=1,max=65535,default=587"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Sender string `json:"sender,omitempty" norman:"required"`