mailrs-shield 1.0.4

SMTP anti-spam primitives: DNS blocklist (DNSBL) queries, greylisting policy with optional Redis store, and PTR / forward-confirmed reverse DNS (FCrDNS) checks.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! DNSBL reverse-IP scoring re-exported from
//! [`mailrs-dnsbl`](https://crates.io/crates/mailrs-dnsbl).
//!
//! Carved into its own crate so consumers who only need DNSBL don't
//! transitively pull greylist + PTR + (under default features) the
//! Redis backing store.
//!
//! The public surface is intentionally unchanged from earlier shield
//! versions — anything that previously worked against
//! `mailrs_shield::dnsbl::*` continues to work.

pub use mailrs_dnsbl::{
    check_dnsbl, dnsbl_query, interpret_spamhaus, is_ipv6_dnsbl_supported, reverse_ipv4,
    DnsblCache, DnsblResult,
};