@bobfrankston/rmfmail 1.2.288 → 1.2.290

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3114,7 +3114,8 @@ async function showMessage(accountId, uid, folderId, specialUse, isRetry = false
3114
3114
  const chip = document.createElement("div");
3115
3115
  chip.className = `mv-spamscore mv-spamscore-${level}`;
3116
3116
  const why = (spam.reasons || []).length ? "\n\n" + spam.reasons.join("\n") : "";
3117
- chip.title = (level === "bulk" ? spam.proved ? "Scored by bulk-mail or blocklist rules; the sending domain passed DMARC, so the sender is proved." : "Every rule that scored is a bulk-mail test \u2014 none of them test who sent this." : level === "high" ? "Your mail server scored this at or above its spam threshold and flagged it." : "Below your server's spam threshold, but more than halfway to it.") + why;
3117
+ const provedNote = spam.provedBy === "dkim" ? "the sending domain signed it and the signature verified" : spam.provedBy === "trusted" ? "it never passed through an untrusted host" : "the sending domain passed DMARC";
3118
+ chip.title = (level === "bulk" ? spam.proved ? `Scored by bulk-mail or blocklist rules; ${provedNote}, so the sender is proved.` : "Every rule that scored is a bulk-mail test \u2014 none of them test who sent this." : level === "high" ? "Your mail server scored this at or above its spam threshold and flagged it." : "Below your server's spam threshold, but more than halfway to it.") + why;
3118
3119
  chip.textContent = `spam score ${spam.score} of ${spam.threshold}`;
3119
3120
  bodyEl.appendChild(chip);
3120
3121
  }