From 608bc4fa7fa721ca1bef79e8d8a4630cd6124843 Mon Sep 17 00:00:00 2001 From: Adnan Maolood Date: Sun, 27 Aug 2023 13:47:24 -0400 Subject: compose: use email domain name in Message-Id RFC 5322 recommends using a domain name on the right-hand side of the "@" in Message-Ids. Since the local host domain name cannot be obtained reliably, use the sender email domain name by default. Add a new configuration option to maintain the old behavior. Link: https://www.rfc-editor.org/rfc/rfc5322.html#section-3.6.4 Signed-off-by: Adnan Maolood Acked-by: Robin Jarry --- go.mod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 3a21656e..347b16aa 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/emersion/go-imap-sortthread v1.2.0 github.com/emersion/go-maildir v0.3.0 github.com/emersion/go-mbox v1.0.3 - github.com/emersion/go-message v0.16.0 + github.com/emersion/go-message v0.17.0 github.com/emersion/go-msgauth v0.6.6 github.com/emersion/go-pgpmail v0.2.0 github.com/emersion/go-sasl v0.0.0-20220912192320-0145f2c60ead @@ -56,7 +56,7 @@ require ( golang.org/x/crypto v0.8.0 // indirect golang.org/x/net v0.9.0 // indirect golang.org/x/term v0.7.0 // indirect - golang.org/x/text v0.9.0 // indirect + golang.org/x/text v0.12.0 // indirect google.golang.org/appengine v1.6.7 // indirect google.golang.org/protobuf v1.30.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect -- cgit