Ticket #18 (reopened enhancement)

Opened 4 years ago

Last modified 3 years ago

Reorganize handling of spam threshold scores and destiny mappings

Reported by: rjl Owned by: rjl
Priority: high Milestone: 1.1.0
Component: amavisd-maia Version: 1.0.0 RC5
Severity: normal Keywords: spam threshold score destiny
Cc:

Description

Spam is unlike viruses/headers/attachments in that its diagnosis is score-based, not black-and-white. With that in mind, several different destinies may be applied to spam at different score thresholds:

* A = Tag threshold * B = Spam threshold * C = Quarantine threshold * D = Discard threshold

If score (X) is:

X < A : Ham, no tag, deliver
A <= X < B : Ham, tag, deliver
B <= X < C : Spam, tag, deliver
C <= X < D : Spam, tag, quarantine
D <= X : Spam, tag, discard

Change History

Changed 4 years ago by rjl

  • status changed from new to assigned

Changed 4 years ago by dmorton

a patch from Jacob Leaver [550] has this feature underway in a branch: branches/level4/trunk

Changed 4 years ago by dmorton

  • priority changed from normal to high
  • severity changed from normal to enhancement

or try this link: source:branches/level4/trunk

I'm not sure what milestone to place this in, though.

Changed 4 years ago by rjl

Correction:

The conditionals should actually be as follows, to allow fall-through behaviour in the case of ties:

X < A : Ham, no tag, deliver
A <= X <= B : Ham, tag, deliver
B <= X <= C : Spam, tag, deliver
C <= X <= D : Spam, tag, quarantine
D <= X : Spam, tag, discard

Tie-breaking behaviour should also be described in the documentation, to make it clear to users how ties can be used to achieve a number of useful configurations.

Changed 3 years ago by dmorton

  • status changed from assigned to closed
  • resolution set to fixed
  • milestone changed from 1.0.0 RC6 to 1.1.0

Done in stats branch, which will become Maia 1.1

Changed 23 months ago by dmorton

  • status changed from closed to reopened
  • resolution fixed deleted
  • patch set to 0

we have either the 4th level to work with in stats branch, Or Robert had

proposed NewThresholds

Note: See TracTickets for help on using tickets.