mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 19:44:34 +03:00
add more details to x-mox-reason message header added during delivery, for understanding why a message is accepted/rejected
we add various information while analysing an incoming message. like dkim/spf/ip reputation. and content-based junk filter threshold/result and ham/spam words used. for issue #179 by Fell and #157 by mattfbacon
This commit is contained in:
@ -148,7 +148,7 @@ func TestReputation(t *testing.T) {
|
||||
var method reputationMethod
|
||||
err = db.Read(ctxbg, func(tx *bstore.Tx) error {
|
||||
var err error
|
||||
isjunk, conclusive, method, err = reputation(tx, pkglog, &m)
|
||||
isjunk, conclusive, method, _, err = reputation(tx, pkglog, &m, false)
|
||||
return err
|
||||
})
|
||||
tcheck(t, err, "read tx")
|
||||
|
Reference in New Issue
Block a user