use emersion/go-msgauth for DKIM (#2242)

Fixes #1041 (support ed25519-sha256 for DKIM)
This commit is contained in:
Shivaram Lingamneni
2025-04-07 00:24:08 -04:00
committed by GitHub
parent 9c3173f573
commit 68cee9e2cd
20 changed files with 1533 additions and 1504 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ func SendMail(config MailtoConfig, recipient string, msg []byte) (err error) {
}
}
if config.DKIM.Domain != "" {
if config.DKIM.Enabled() {
msg, err = DKIMSign(msg, config.DKIM)
if err != nil {
return