BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr
optimized email sending module host format check.
Jackc2c1b0741bbc
diff --git a/core/internal/service/mail_service/sending.go b/core/internal/service/mail_service/sending.goindex 913c6881..325dcbef 100644--- a/core/internal/service/mail_service/sending.go+++ b/core/internal/service/mail_service/sending.go@@ -403,7 +403,7 @@ func (e *EmailSender) IsConfigured() bool {return false}- if !public.IsHost(e.Host) {+ if e.Host != "postfix" && !public.IsHost(e.Host) {g.Log().Warning(context.Background(), "Host is not a valid host: ", e.Host)return false}