From b94ec7597cd1690b15b646d41fbe7ffe30af968a Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Sun, 20 Aug 2023 22:32:03 +0200 Subject: [PATCH] smtp: set default port to 587 Signed-off-by: Nicola Murino --- internal/config/config.go | 2 +- sftpgo.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index 58048cd2..64913072 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -448,7 +448,7 @@ func Init() { }, SMTPConfig: smtp.Config{ Host: "", - Port: 25, + Port: 587, From: "", User: "", Password: "", diff --git a/sftpgo.json b/sftpgo.json index 16a830d2..204d0a69 100644 --- a/sftpgo.json +++ b/sftpgo.json @@ -404,7 +404,7 @@ }, "smtp": { "host": "", - "port": 25, + "port": 587, "from": "", "user": "", "password": "",