Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

identifying junk mail via attribute/flags/labels

8 views
Skip to first unread message

Wayne Mery

unread,
Jan 24, 2008, 1:07:47 PM1/24/08
to David Bienvenu
David wrote in bug 349448: "there is an attribute on a message that says
whether it's been marked as junk, non junk, or not marked at all, and
whether the user marked it as junk, or the spam filter."

How does view the attribute? (I'm not seeing it on any x-mozilla-status
flags)

And should I plug into mxr search to find the relevant source modules?

Wayne Mery

unread,
Jan 24, 2008, 4:52:29 PM1/24/08
to David Bienvenu
[correcting my poor sentences]

On 1/24/2008 1:07 PM, Wayne Mery wrote:
> David wrote in bug 349448: "there is an attribute on a message that says
> whether it's been marked as junk, non junk, or not marked at all, and
> whether the user marked it as junk, or the spam filter."
>

> How does [one] view the attribute [in the mail store]? (I'm not seeing it on any x-mozilla-status
> flags)
>
> And [what] should I plug into mxr search to find the relevant source modules?

Kent James

unread,
Jan 24, 2008, 5:12:52 PM1/24/08
to
There are two variables involved. One is called junkscore. It has a
value of null for unmarked, =0 for ham, and =100 for junk. The second
variable is junkscoreorigin. It has values of either "plugin" or "user".
"plugin" is used in all cases except where the user marked it, then
status is "user".

I have a sample custom column handler posted at
https://bugzilla.mozilla.org/attachment.cgi?id=245170 that shows these
two varibles. I'm not sure if that is still current, but you could try it.

0 new messages