mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
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:
parent
0a10283de0
commit
8654a1f901
3 changed files with 4 additions and 3 deletions
2
doc.go
2
doc.go
|
@ -770,7 +770,7 @@ with:
|
|||
- "timeout": no response (for an hour)
|
||||
|
||||
If the localpart begins with "mailfrom" or "rcptto", the error is returned
|
||||
during those commands instead of during "data". If the localpart beings with
|
||||
during those commands instead of during "data". If the localpart begins with
|
||||
"queue", the submission is accepted but delivery from the queue will fail.
|
||||
|
||||
usage: mox localserve
|
||||
|
|
|
@ -59,7 +59,7 @@ with:
|
|||
- "timeout": no response (for an hour)
|
||||
|
||||
If the localpart begins with "mailfrom" or "rcptto", the error is returned
|
||||
during those commands instead of during "data". If the localpart beings with
|
||||
during those commands instead of during "data". If the localpart begins with
|
||||
"queue", the submission is accepted but delivery from the queue will fail.
|
||||
`
|
||||
golog.SetFlags(0)
|
||||
|
@ -166,7 +166,7 @@ during those commands instead of during "data". If the localpart beings with
|
|||
golog.Printf(`- "timeout": no response (for an hour).`)
|
||||
golog.Print("")
|
||||
golog.Print(`if the localpart begins with "mailfrom" or "rcptto", the error is returned`)
|
||||
golog.Print(`during those commands instead of during "data". if the localpart beings with`)
|
||||
golog.Print(`during those commands instead of during "data". if the localpart begins with`)
|
||||
golog.Print(`"queue", the submission is accepted but delivery from the queue will fail.`)
|
||||
golog.Print("")
|
||||
golog.Print(" smtp://localhost:1025 - receive email")
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue