"Trust junk mail headers set by SpamAssassin" does not work

Bug #124920 reported by runokiab
4
Affects Status Importance Assigned to Milestone
Mozilla Thunderbird
Fix Released
High
thunderbird (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: mozilla-thunderbird

"Trust junk mail headers set by: SpamAssassin" does not work with 1.5.0.12-0ubuntu0.7.04. Mails containing "X-Spam-Flag: YES" are neither marked as Junk nor moved to the folder set in "Junk Mail Controls" (normally the "Junk" folder).

The file responsible for the filtering is /usr/lib/mozilla-thunderbird/defaults/messenger/SpamAssassin.sfd. This file isn't different from the file used in Thunderbird 2.0.0.4.
However, a custom "Message Filter" for Local Folders with the same condition works:

version="8"
logging="yes"
name="X-Spam-Flag"
enabled="yes"
type="1"
action="JunkScore"
actionValue="100"
action="Move to folder"
actionValue="mailbox://nobody@Local%20Folders/Trash"
condition="OR (\"X-Spam-Flag\",begins with,YES)"

There is a similar bug report for Thunderbird 2.0 at https://bugzilla.mozilla.org/show_bug.cgi?id=381589

Revision history for this message
In , Atlanx (atlanx) wrote :

I can choose between
  SpamAssasin
  SpamAssassin
  SpamPal
in Seamonkey 1.1

Question: I can choose "SpamAssasin" in Seamonkey(german (at).
Has this to do with this bug here?
And will this seamonkey bug get fixed with your fix here in seamonkey, too?

Thank you for your answer.

Revision history for this message
In , Mscott-mozilla (mscott-mozilla) wrote :

Comment on attachment 262392
Fix v.1

good catch!

Revision history for this message
In , Philringnalda (philringnalda) wrote :

mailnews/mailnews.js 3.296

(In reply to comment #1)
> Has this to do with this bug here?

Not really, no; replied in m.d.a.seamonkey instead.

Revision history for this message
runokiab (launchpad-5-baikonur) wrote :

Binary package hint: mozilla-thunderbird

"Trust junk mail headers set by: SpamAssassin" does not work with 1.5.0.12-0ubuntu0.7.04. Mails containing "X-Spam-Flag: YES" are neither marked as Junk nor moved to the folder set in "Junk Mail Controls" (normally the "Junk" folder).

The file responsible for the filtering is /usr/lib/mozilla-thunderbird/defaults/messenger/SpamAssassin.sfd. This file isn't different from the file used in Thunderbird 2.0.0.4.
However, a custom "Message Filter" for Local Folders with the same condition works:

version="8"
logging="yes"
name="X-Spam-Flag"
enabled="yes"
type="1"
action="JunkScore"
actionValue="100"
action="Move to folder"
actionValue="mailbox://nobody@Local%20Folders/Trash"
condition="OR (\"X-Spam-Flag\",begins with,YES)"

There is a similar bug report for Thunderbird 2.0 at https://bugzilla.mozilla.org/show_bug.cgi?id=381589

Changed in thunderbird:
status: Unknown → Confirmed
Revision history for this message
In , Mkmelin+mozilla (mkmelin+mozilla) wrote :

Updating summary and severity as is seems this was causing bug 381589.

Revision history for this message
In , Mkmelin+mozilla (mkmelin+mozilla) wrote :

Comment on attachment 262392
Fix v.1

This very safe little patch should go on branch too, as it seems to fix bug 381589.

Revision history for this message
In , Hskupin (hskupin) wrote :

*** Bug 381589 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Philringnalda (philringnalda) wrote :

Oh, crap. Yes, this is a good branch-safe workaround for the broken-by-design way am-junk handles the default value.

Revision history for this message
In , Dveditz (dveditz) wrote :

Not blocking, but we'll look at the patch.

Revision history for this message
In , Dveditz (dveditz) wrote :

Comment on attachment 262392
Fix v.1

approved for 1.8.1.12, a=dveditz for release-drivers

Revision history for this message
In , Philringnalda (philringnalda) wrote :

mailnews/mailnews.js 3.249.2.39

Changed in thunderbird:
status: Confirmed → Fix Released
Revision history for this message
In , Philringnalda (philringnalda) wrote :

*** Bug 381589 has been marked as a duplicate of this bug. ***

Changed in thunderbird:
status: Fix Released → Invalid
Revision history for this message
Joel Goguen (jgoguen) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. According to an upstream bug report, this appears to be fixed. Can you try with the latest Ubuntu release? Thanks in advance.

Changed in mozilla-thunderbird:
status: New → Incomplete
Changed in thunderbird:
status: Invalid → Unknown
Changed in thunderbird:
status: Unknown → Fix Released
Revision history for this message
John Vivirito (gnomefreak) wrote :

confirmed due to upstream bug report being found.

Changed in mozilla-thunderbird:
status: Incomplete → Confirmed
Revision history for this message
runokiab (launchpad-5-baikonur) wrote :

Since I'm using Ubuntu 8.04 now, which comes with Thunderbird 2.0.0.12 this is not a problem anymore for me.

Revision history for this message
Joel Goguen (jgoguen) wrote :

Changing this to Fix Released since the fix is in the repositories for Jaunty. This appears to have been fixed for Thunderbird 2.0.0.12.

Changed in mozilla-thunderbird:
status: Confirmed → Fix Released
Changed in thunderbird:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.