Skip to main content

read_spam_verdict

Function read_spam_verdict 

Source
pub fn read_spam_verdict(headers: &RawHeaders) -> Option<SpamVerdict>
Expand description

Reads SpamAssassin’s X-Spam-* headers, else rspamd’s, among the fields your provider wrote (written_on_arrival) and nowhere else: a sender writes what it likes into its own message, “X-Spam-Flag: NO” too, and its outgoing server’s filter judges what it sends, not what you receive.