happyDeliver/pkg/analyzer
Pierre-Olivier Mercier d53c1b1e00
All checks were successful
continuous-integration/drone/push Build is passing
tls: surface transport TLS status in email path and authentication
Parse TLS details (version, cipher, bits, cert verification) from the
Postfix Received header parenthetical and expose them per hop, rendered
as a per-hop badge in the Email Path card.

Add an x-tls Authentication-Results result: parse it when present, and
otherwise synthesize it from the inbound hop's TLS info. A negative
result (unencrypted inbound connection) applies a -10 authentication
score penalty and is shown in the Authentication card. Enable the TLS
handler in authentication_milter.

Closes: #40
2026-06-06 16:44:27 +09:00
..
analyzer.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication.go tls: surface transport TLS status in email path and authentication 2026-06-06 16:44:27 +09:00
authentication_arc.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_arc_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_bimi.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_bimi_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_dkim.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_dkim_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_dmarc.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_dmarc_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_iprev.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_iprev_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_spf.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_spf_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_test.go analyzer: correct auth scoring weights, x-aligned-from penalty, and RBL divide-by-zero 2026-05-18 20:57:31 +08:00
authentication_x_aligned_from.go analyzer: correct auth scoring weights, x-aligned-from penalty, and RBL divide-by-zero 2026-05-18 20:57:31 +08:00
authentication_x_aligned_from_test.go analyzer: correct auth scoring weights, x-aligned-from penalty, and RBL divide-by-zero 2026-05-18 20:57:31 +08:00
authentication_x_google_dkim.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_x_google_dkim_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
authentication_x_ptr.go dns: add HELO/PTR consistency check 2026-06-06 16:13:34 +09:00
authentication_x_ptr_test.go dns: add HELO/PTR consistency check 2026-06-06 16:13:34 +09:00
authentication_x_tls.go tls: surface transport TLS status in email path and authentication 2026-06-06 16:44:27 +09:00
authentication_x_tls_test.go tls: surface transport TLS status in email path and authentication 2026-06-06 16:44:27 +09:00
content.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
content_test.go Add multilingual unsubscribe keywords for link detection 2026-02-23 00:15:17 +07:00
dns.go dns: add ReturnOK check for sender domain reachability 2026-06-06 16:44:24 +09:00
dns_bimi.go analyzer: strip resolver address from DNS lookup error messages 2026-06-03 23:06:19 +09:00
dns_bimi_test.go Split dns.go in one file per check 2025-10-25 03:31:29 +07:00
dns_dkim.go analyzer: strip resolver address from DNS lookup error messages 2026-06-03 23:06:19 +09:00
dns_dkim_test.go dkim: expose algorithm, hash list, and key size in DKIM record analysis 2026-05-18 20:57:31 +08:00
dns_dmarc.go analyzer: strip resolver address from DNS lookup error messages 2026-06-03 23:06:19 +09:00
dns_dmarc_test.go dmarc: refactor parseDMARCRecord to use shared tag parser and eliminate helper methods 2026-05-18 21:02:53 +08:00
dns_fcr.go dns: add HELO/PTR consistency check 2026-06-06 16:13:34 +09:00
dns_fcr_test.go dns: add HELO/PTR consistency check 2026-06-06 16:13:34 +09:00
dns_mx.go analyzer: strip resolver address from DNS lookup error messages 2026-06-03 23:06:19 +09:00
dns_resolver.go analyzer: strip resolver address from DNS lookup error messages 2026-06-03 23:06:19 +09:00
dns_returnok.go dns: add ReturnOK check for sender domain reachability 2026-06-06 16:44:24 +09:00
dns_returnok_test.go dns: add ReturnOK check for sender domain reachability 2026-06-06 16:44:24 +09:00
dns_spf.go analyzer: strip resolver address from DNS lookup error messages 2026-06-03 23:06:19 +09:00
dns_spf_test.go Handle RFC6652 2025-11-07 14:09:05 +07:00
dns_test.go Split dns.go in one file per check 2025-10-25 03:31:29 +07:00
headers.go tls: surface transport TLS status in email path and authentication 2026-06-06 16:44:27 +09:00
headers_test.go tls: surface transport TLS status in email path and authentication 2026-06-06 16:44:27 +09:00
parser.go Make receiver hostname configurable via --receiver-hostname flag 2026-03-25 12:12:08 +07:00
parser_test.go Make receiver hostname configurable via --receiver-hostname flag 2026-03-25 12:12:08 +07:00
rbl.go analyzer: correct auth scoring weights, x-aligned-from penalty, and RBL divide-by-zero 2026-05-18 20:57:31 +08:00
rbl_test.go dmarc: implement RFC 7489 org-domain fallback and RFC 9091 PSD DMARC 2026-05-18 17:03:58 +08:00
report.go tls: surface transport TLS status in email path and authentication 2026-06-06 16:44:27 +09:00
report_test.go Add rspamd symbol descriptions from embedded/API lookup 2026-03-26 09:51:45 +07:00
rspamd-symbols-README.md Add rspamd symbol descriptions from embedded/API lookup 2026-03-26 09:51:45 +07:00
rspamd-symbols.json Add rspamd symbol descriptions from embedded/API lookup 2026-03-26 09:51:45 +07:00
rspamd.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
rspamd_symbols.go Add rspamd symbol descriptions from embedded/API lookup 2026-03-26 09:51:45 +07:00
rspamd_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
scoring.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
spamassassin.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00
spamassassin_test.go Extract OpenAPI schemas to separate file and move models to internal/model package 2026-04-09 18:36:27 +07:00