Skip to content

Commit b94ec75

Browse files
committed
smtp: set default port to 587
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
1 parent c437f0a commit b94ec75

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ func Init() {
448448
},
449449
SMTPConfig: smtp.Config{
450450
Host: "",
451-
Port: 25,
451+
Port: 587,
452452
From: "",
453453
User: "",
454454
Password: "",

sftpgo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@
404404
},
405405
"smtp": {
406406
"host": "",
407-
"port": 25,
407+
"port": 587,
408408
"from": "",
409409
"user": "",
410410
"password": "",

0 commit comments

Comments
 (0)