Browse Source

smtp: set default port to 587

Signed-off-by: Nicola Murino <[email protected]>
Nicola Murino 2 years ago
parent
commit
b94ec7597c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      internal/config/config.go
  2. 1 1
      sftpgo.json

+ 1 - 1
internal/config/config.go

@@ -448,7 +448,7 @@ func Init() {
 		},
 		SMTPConfig: smtp.Config{
 			Host:          "",
-			Port:          25,
+			Port:          587,
 			From:          "",
 			User:          "",
 			Password:      "",

+ 1 - 1
sftpgo.json

@@ -404,7 +404,7 @@
   },
   "smtp": {
     "host": "",
-    "port": 25,
+    "port": 587,
     "from": "",
     "user": "",
     "password": "",