Compare commits

..

4 commits

Author SHA1 Message Date
f0bae12029 Report BIMI issues
All checks were successful
continuous-integration/drone/push Build is passing
2025-10-30 14:10:42 +07:00
90dda126ad Don't consider mailto as suspiscious, search domain alignment 2025-10-30 14:10:42 +07:00
3a8a25ddeb Add info title on non-standard authentication tests 2025-10-30 14:10:42 +07:00
b01ca9b38c Report invalid records in summary 2025-10-30 14:10:42 +07:00

View file

@ -131,14 +131,22 @@
}
// SPF DNS record check
const spfRecord = report.dns_results?.spf_record;
if (spfRecord && !spfRecord.valid && spfRecord.record) {
segments.push({ text: ". Your SPF record is " });
segments.push({
text: "invalid",
highlight: { color: "danger", bold: true },
link: "#dns-spf",
});
const spfRecords = report.dns_results?.spf_records;
if (spfRecords && spfRecords.length > 0) {
const invalidSpfRecords = spfRecords.filter((r) => !r.valid && r.record);
if (invalidSpfRecords.length > 0) {
segments.push({ text: ". Your SPF record" });
if (invalidSpfRecords.length > 1) {
segments.push({ text: "s are " });
} else {
segments.push({ text: " is " });
}
segments.push({
text: "invalid",
highlight: { color: "danger", bold: true },
link: "#dns-spf",
});
}
}
// IP Reverse DNS (iprev) check