Today in spam filter musings, I'm wondering about how to set thresholds, and how...

@algernon@come-from.mad-scientist.club

Today in spam filter musings, I'm wondering about how to set thresholds, and how to handle reject/discard/quarantine.

Like, sure, I can set something like...

thresholds {
  spam 15.0 action=accept
}

But what if I want to set an action that is not based on score? If I want to reject mail if SPF hard fails?

I currently have an if branch, but... I'd rather do it declaratively.