@bobfrankston/rmfmail 1.2.298 → 1.2.300

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.
@@ -3129,7 +3129,7 @@ async function showMessage(accountId, uid, folderId, specialUse, isRetry = false
3129
3129
  chip.className = `mv-spamscore mv-spamscore-${level}`;
3130
3130
  const why = (spam.reasons || []).length ? "\n\n" + spam.reasons.join("\n") : "";
3131
3131
  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";
3132
- 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;
3132
+ chip.title = (level === "bulk" ? spam.proved ? spam.bulkOnly ? `Scored by bulk-mail or blocklist rules; ${provedNote}, so the sender is proved.` : `${provedNote[0].toUpperCase()}${provedNote.slice(1)}, so the sender is proved. Not every rule that scored is a bulk-mail test \u2014 they are listed below.` : spam.bulkOnly ? "Every rule that scored is a bulk-mail test \u2014 none of them test who sent this." : "No forgery rule scored. The rules that did are listed below." : 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;
3133
3133
  chip.textContent = `spam score ${spam.score} of ${spam.threshold}`;
3134
3134
  bodyEl.appendChild(chip);
3135
3135
  }