Closed Bug 338276 Opened 18 years ago Closed 18 years ago

Junk mail check not applied if message filter moves mail

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 200788

People

(Reporter: mozilla, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3

When TB downloads new mail, I have a filter set up to sort my incoming mail into subfolders of my Local Inbox based on a few special accounts. These are all POP accounts, so the mail is downloaded completely before TB even starts applying filters. However, if one of those accounts has junk mail, it's not checked until I receive notification of new email (misleading) and then click the subfolder; then all the messages jump into the junk mail folder instead.

Why does TB not do this as soon as it gets the email?

Reproducible: Always

Steps to Reproduce:
1. Enable Junk processing
2. Add subfolder to Inbox (Inbox / GMail Stuff)
3. Add message filter to put all GMail stuff into "GMail Stuff"
4. Get mail that includes junk

Actual Results:  
Mail is moved to "Inbox / GMail Stuff" but is not checked as junk. When I click the folder (which is bold and has a number of new messages), the junk filter processes them and moves the junk to the main Junk folder.

Expected Results:  
Mail is moved to "Inbox / GMail Stuff", then immediately the junk filter processes them and moves the junk to the main Junk folder.

Alternatively, since I'm basically "tricking" TB into moving all messages from one account into a subfolder within the Inbox by filtering messages from that account with a Date > 1/1/1980, it would make sense to include a message filter that matches "all" so that this is automatic. Alternatively, when given the option in the preferences to put incoming mail from a specific account into "Local Folders / Inbox" or "That Account / Inbox", it would be nice to be able to select any arbitrary folder, so that I can put it into my Inbox's subfolder if I choose. That might eliminate this bug as a distinction.

Also, if this isn't actually a bug and is by design, why does it work that way? I got the perception from another bug that the Junk mail filter is inefficient when applied to all subfolders of the Inbox, but it seems like processing the inbox and all its folders would be trivially less difficult as long as you're still reading all the new mail only.

Another option is to add a "check for Junk" action in the message filters, so that I can explicitly tell TB to check an incoming message to see if it's junk.

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