Closed Bug 323144 Opened 19 years ago Closed 13 years ago

"Trust junk mail headers set by" should support Bogofilter's "X-Bogosity" header

Categories

(Thunderbird :: Preferences, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 11.0

People

(Reporter: russ, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [Fixed by bug 687520])

In Junk Mail Controls, TB1.5 now recognises SpamAssasin and SpamPal. It would be nice if it also recognised the "X-Bogosity" header set by Bogofilter (with the -p (passthrough) argument).

Sample headers...

Non-spam:
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.0.0

Unknown (probably treat as non-spam):
X-Bogosity: Unsure, tests=bogofilter, spamicity=0.499993, version=1.0.0

Spam:
X-Bogosity: Spam, tests=bogofilter, spamicity=0.997190, version=0.95.2

For the purposes of the test, obviously it's only the first word ("Ham", "Unsure" or "Spam") that is important; all the rest can be ignored if present.
FYI, older versions of bogofilter use Yes/Unsure/No instead of Spam/Unsure/Ham, so we should probably support both. The format of the header can be customised in the bogofilter config file; the above examples are the default. It also has a 'terse' output format.
Assignee: mscott → nobody
Blocks: junktracker
Depends on: 687520
This has been fixed by bug 687520.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [Fixed by bug 687520]
Target Milestone: --- → Thunderbird 11.0
You need to log in before you can comment on or make changes to this bug.