Opened 15 years ago

Last modified 14 years ago

#18 reopened enhancement

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 (6)

comment:1 Changed 15 years ago by rjl

  • Status changed from new to assigned

comment:2 Changed 15 years ago by dmorton

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

comment:3 Changed 15 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.

comment:4 Changed 14 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.

comment:5 Changed 14 years ago by dmorton

  • Milestone changed from 1.0.0 RC6 to 1.1.0
  • Resolution set to fixed
  • Status changed from assigned to closed

Done in stats branch, which will become Maia 1.1

comment:6 Changed 13 years ago by dmorton

  • patch set to 0
  • Resolution fixed deleted
  • Status changed from closed to reopened

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.