Filter after the fact on imap with To Or CC term and another AND term does an OR search



MailNews Core
14 years ago
4 years ago


(Reporter: jst, Unassigned)


Firefox Tracking Flags

(Not tracked)


(Whiteboard: [needs retest])



14 years ago
I have a filter that filters out bugmail into separate folders (don't we all?),
and I noticed that if I have a filter that matches "To or CC contains
someaddr@someplace.something" *and* "Sender contains" this filter will match emails where someone
forwards a bugzilla email that would've matched that filter.

This is wrong, we shouldn't be looking at email headers in the message body when
matching filter rules...

Comment 1

14 years ago
we shouldn't, and I didn't think that we did...I'll try it, but I'm pretty sure
we just match against the db headers, and the db only gets told about the real
message headers.

Comment 2

14 years ago
Johnny, I tried this (forwarded as attachment a bugzilla message, and bcc'ed
myself) - my personal filter didn't fire (messages to or cc me), nor did my
bugzilla filters. This was with Pop3, though I think the same would work with imap.

Comment 3

14 years ago
David, I sent you email about this (sorry, can't include all that much here as
the message contains security confidential material), have a look and let me
know if you need more info still. Oh, I was using IMAP, though as you said that
shouldn't matter. I was using an aviary build from this morning (built myself,

Comment 4

14 years ago
changing summary
Summary: Filter rules match headers in forwarded messages. → Filter after the fact on imap with To Or CC term and another AND term does an OR search
Product: MailNews → Core


10 years ago
QA Contact: filters


10 years ago
Product: Core → MailNews Core

Comment 5

8 years ago
Bienvenu still want this assigned?

Comment 6

8 years ago
this sounds like a bug that was fixed in might have been rkent, or maybe asuth. I'll try to look at the checkin logs...

Comment 7

8 years ago
I was thinking of  Bug 513277 - not sure this is the same or not...

Comment 8

8 years ago
It probably needs retesting. The ToOrCc AFAICT is not implemented with a boolean search term, which means I doubt that bug 513277 fixed it.


4 years ago
Assignee: mozilla → nobody
Whiteboard: [needs retest]
You need to log in before you can comment on or make changes to this bug.