with localserve, in queue, when "delivering" to the sender account, mark domain "localhost" as dkimverified

may be useful for testing, e.g. for rulesets to deliver messages to mailboxes other than Inbox.
This commit is contained in:
Mechiel Lukkien
2024-04-16 19:25:56 +02:00
parent 0a10283de0
commit 8654a1f901
3 changed files with 4 additions and 3 deletions

View File

@ -1549,6 +1549,7 @@ func deliver(log mlog.Log, resolver dns.Resolver, m0 Msg) {
EHLOValidation: store.ValidationPass,
MailFromValidation: store.ValidationPass,
MsgFromValidation: store.ValidationDMARC,
DKIMDomains: []string{"localhost"},
ReceivedRequireTLS: qm.RequireTLS != nil && *qm.RequireTLS,
Size: qm.Size,
MsgPrefix: qm.MsgPrefix,