Closed Bug 229531 Opened 21 years ago Closed 21 years ago

Allow junk mail filter evaluation before regular user filters

Categories

(MailNews Core :: Filters, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 198100

People

(Reporter: aleph1721, Assigned: sspitzer)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007

Apologies if this is a dupe..I tried searching on some keywords but the results
were ambiguous. Here's the situation: I have defined multiple message filters in
Mozilla Mail, such that when a message arrives, it is evaluated against those
filters (generally the From and To addresses) and moved to a subfolder of my
IMAP inbox depending on the contents. So for example, mail addressed to my email
address directly is moved into the "personal" folder. I also have Mozilla's
bayesian spam filter enabled, but as this is not a predicate you can check on in
mail filters, there is no way to specify that the junk mail filter should be
evaluated *before* all the regular filters. This leads to a very annoying issue,
namely that spam which matches one of the filters (for example, spam addressed
directly to my email address, which meets the "personal" filter criterion) gets
filtered according to the user defined rule first. This means I think I have new
personal mail, and then I switch to my personal folder, after which the junk
mail filter is evaluated and the mail gets moved to my junk folder
automatically. This is annoying because it requires manual intervention
(changing to my personal folder) to have the junk mail processed and filtered. I
also came across another bug which requested that mail notification be disabled
for new junk mail, which could be very useful as well. Thank you for reading all
of that! Please let me know if you have any questions. 

Reproducible: Always

Steps to Reproduce:
1. Define several user defined filters to move incoming mail to various IMAP
subfolders based on criteria like the "From" address.
2. Enable junk mail filtering
3. Wait for new junk mail to arrive that matches a user-defined message filter.

Actual Results:  
The new junk mail is evaluated according to the user-defined filter and moved to
a user-created subfolder of the IMAP inbox.

Expected Results:  
The junk mail filter should have been evaluated first and the message should've
been moved to the designated junk folder instead of the user folder

I asked if what I wanted was possible on irc.mozilla.org (#mozdev I believe) and
I was told by multiple people that it was not, which is why I'm filing this bug :-)

*** This bug has been marked as a duplicate of 198100 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.