aboutsummaryrefslogtreecommitdiffstats
path: root/go.mod
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2024-07-12 15:42:02 +0200
committerRobin Jarry <robin@jarry.cc>2024-07-15 22:39:12 +0200
commit017c5468de4fd515b4dc05d70e372808fd98fb88 (patch)
tree9658000f3cec1bc6029a3a43bc0ce9570d7e7750 /go.mod
parent93eeffb5daea7ed408154f013d265beb890ea62b (diff)
downloadaerc-017c5468de4fd515b4dc05d70e372808fd98fb88.tar.gz
smtp: fix error when setting smtp-domain with starttls
Some MTA servers require clients to specify their fully qualified hostname in the HELO command. By default, go-smtp uses "localhost". SMTP error 504: <localhost>: Helo command rejected: need fully qualified hostname In go-smtp v0.21.0, there is a regression preventing manually issuing a HELO command after starttls authentication: Connection failed: Hello: smtp: Hello called after other methods The regression was fixed in go-smtp v0.21.3. Update our dependency. Fixes: 7c789624d7da ("mod: update all dependencies") Changelog-fixed: Error when trying to configure `smtp-domain` with STARTTLS enabled. Reported-by: Stefano <foxy@teapot.ovh> Signed-off-by: Robin Jarry <robin@jarry.cc> Reviewed-by: Tristan Partin <tristan@partin.io>
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod2
1 files changed, 1 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index 660e1b02..1627cbfa 100644
--- a/go.mod
+++ b/go.mod
@@ -17,7 +17,7 @@ require (
github.com/emersion/go-msgauth v0.6.8
github.com/emersion/go-pgpmail v0.2.1
github.com/emersion/go-sasl v0.0.0-20231106173351-e73c9f7bad43
- github.com/emersion/go-smtp v0.21.0
+ github.com/emersion/go-smtp v0.21.3
github.com/fsnotify/fsevents v0.1.1
github.com/fsnotify/fsnotify v1.7.0
github.com/gatherstars-com/jwz v1.4.0