feat(app): sign outgoing mail with the configured DKIM keys

- Load the keys at startup and refuse to start on a broken one
- Sign every outgoing message, confirmation mail included, with the key of its From domain
- Send unsigned when the domain has no key
This commit is contained in:
tgiachi 2026-11-09 19:59:57 +01:00
commit dca9117a2e

2
go.mod
View file

@ -4,6 +4,7 @@ go 1.27.1
require (
github.com/emersion/go-message v0.18.2
github.com/emersion/go-msgauth v0.7.0
github.com/emersion/go-smtp v0.25.1
gopkg.in/yaml.v3 v3.0.1
modernc.org/sqlite v1.62.0
@ -11,7 +12,6 @@ require (
require (
github.com/dustin/go-humanize v1.1.0 // indirect
github.com/emersion/go-msgauth v0.7.0 // indirect
github.com/emersion/go-sasl v0.0.0-20241020182733-b788ff22d5a6 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/mattn/go-isatty v0.0.24 // indirect