From 17c8d06a3317a627cf090f97214c9e75d67be5eb Mon Sep 17 00:00:00 2001 From: Aine Date: Tue, 6 Sep 2022 18:51:46 +0300 Subject: [PATCH] disable insecure auth --- smtp/msa.go | 1 - 1 file changed, 1 deletion(-) diff --git a/smtp/msa.go b/smtp/msa.go index 90d4261..feb6158 100644 --- a/smtp/msa.go +++ b/smtp/msa.go @@ -49,7 +49,6 @@ func Start(domain, port, loglevel string, maxSize int, client Client) error { s.ReadTimeout = 10 * time.Second s.WriteTimeout = 10 * time.Second s.MaxMessageBytes = maxSize * 1024 * 1024 - s.AllowInsecureAuth = true if log.GetLevel() == "DEBUG" || log.GetLevel() == "TRACE" { s.Debug = os.Stdout }