From c0ccb95120cc8cb832e4bf0a059b5e0c60d1fe4c Mon Sep 17 00:00:00 2001 From: Thomas Huisman Date: Wed, 5 Oct 2022 01:23:51 +0200 Subject: [PATCH] fix: typo --- internal/target/remote/connect.go | 2 +- internal/target/remote/security.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/target/remote/connect.go b/internal/target/remote/connect.go index 3e6c5e7..8df3642 100644 --- a/internal/target/remote/connect.go +++ b/internal/target/remote/connect.go @@ -238,7 +238,7 @@ func (rd *remoteDelivery) connectionForDomain(ctx context.Context, domain string return nil, &exterrors.SMTPError{ Code: 550, EnhancedCode: exterrors.EnhancedCode{5, 7, 30}, - Message: "Failed to estabilish the MX record authenticity (REQUIRETLS)", + Message: "Failed to establish the MX record authenticity (REQUIRETLS)", Misc: map[string]interface{}{ "mx_level": conn.mxLevel, }, diff --git a/internal/target/remote/security.go b/internal/target/remote/security.go index 08a8377..1e21f1e 100644 --- a/internal/target/remote/security.go +++ b/internal/target/remote/security.go @@ -180,7 +180,7 @@ func (c *mtastsDelivery) CheckMX(ctx context.Context, mxLevel module.MXLevel, do return module.MXNone, &exterrors.SMTPError{ Code: 550, EnhancedCode: exterrors.EnhancedCode{5, 7, 0}, - Message: "Failed to estabilish the module.MX record authenticity (MTA-STS)", + Message: "Failed to establish the module.MX record authenticity (MTA-STS)", } } c.log.Msg("MX does not match published non-enforced MTA-STS policy", "mx", mx, "domain", c.domain) @@ -608,7 +608,7 @@ func (l localPolicy) CheckMX(ctx context.Context, mxLevel module.MXLevel, domain // a temporary error (we can't know with the current design). Code: 451, EnhancedCode: exterrors.EnhancedCode{4, 7, 0}, - Message: "Failed to estabilish the module.MX record authenticity", + Message: "Failed to establish the module.MX record authenticity", Misc: map[string]interface{}{ "mx_level": mxLevel, },