Skip to content

Commit 926bf3b

Browse files
committed
ARHParser.jsm: continue verification if there is no DKIM result in the ARH header
1 parent c419975 commit 926bf3b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: modules/AuthVerifier.jsm

+1-4
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ var AuthVerifier = {
102102
// read Authentication-Results header
103103
authResult = getARHResult(msg);
104104

105-
if (!authResult) {
105+
if (!authResult || authResult.dkim.length === 0) {
106106
// verify DKIM signatures
107107
let dkimResultV2 = yield DKIM.Verifier.verify2(msg);
108108
authResult = {
@@ -177,9 +177,6 @@ function getARHResult(msg) {
177177
// convert DKIM results
178178
let dkimSigResults = arhDKIM.map(arhDKIM_to_dkimSigResultV2);
179179

180-
// check for signature existents
181-
DKIM.Verifier.checkForSignatureExsistens(msg, dkimSigResults);
182-
183180
// check SDID and AUID of DKIM results
184181
for (let i = 0; i < dkimSigResults.length; i++) {
185182
if (dkimSigResults[i].result === "SUCCESS") {

0 commit comments

Comments
 (0)