Closed Bug 389096 Opened 17 years ago Closed 15 years ago

only last mails filtered from an IMAP to Local folder gets analyzed for junk when that folder is opened

Categories

(MailNews Core :: Filters, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 389098

People

(Reporter: ingo, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5
Build Identifier: Thunderbird 2.0.0.5 and before

This is a followup bug to Bug 206679 in which the junk processing for filtered IMAP messages to a local folder was done at all.

The problem now is that when you have your settings to get new messages every X minutes, then only the very last filtered messages in a folder are filtered when you open the folder. The mails received before are not analyzed for junk.

Reproducible: Always

Steps to Reproduce:
I have configured my account to get new mails every 5 minutes.
When I get emails they are filtered into the folder, marked as "new mail" and averything is ok. When i get into these folders directly after the emails arrived there everything is ok!
Lets name this "cycle 1".

But when I do not enter the folders directly after the mails arrive and
thunderbird gets new mails 5 minutes later ("cycle 2") it seems that the "new
mails" status of the mails received during "cycle 1" is reset and only the
mails that were received at "cycle 2" are marked as new.

This repeats with every new 5 minutes with more cycles were everytime the mails
from the last cycle loose the "new mail" flag and only the mails from the
latest cycle withh get this flag.


Actual Results:  
When I now enter the folder (where, when I understand everything correctly in
the bug 206679 all mails having a "new" flag will be checked for junk) only the mails received during the latest cycle will be checked for junk and will be sorted out to the junk folder. All mails received in the cycles before will not be checked (because they don't have this new-mail-flag).

Expected Results:  
I would expect that when mails are filtered into a folder in several cycles and I enter that folder all received ("new") mails since the last view of that folder are analyzed for junk.
I have one more effect (which happend for POP3 too when I remember correctly) which could happend because of the same problem:

When messages are filtered into the current opened folder then no junk processing will occur ... even when I leave and re-enter that folder.
Maybe the "new" flag is removed somehow because the folder is currently open?
If you want I can open a second bug for this...
Bug 424876 could be a duplicate of this.
also with 3.0 beta?
 (backup your profile first)
 http://www.mozillamessaging.com/en-US/thunderbird/early_releases/
Component: General → Filters
Product: Thunderbird → MailNews Core
QA Contact: general → filters
I thiunk the reason was described and mainly fixed in bug 389098 ...
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.