Open
Bug 128581
Opened 24 years ago
Updated 1 month ago
IMAP Filters filter unread (UNSEEN), should filter only new (RECENT) mails. Message gets filtered again if moved to Inbox
Categories
(MailNews Core :: Filters, defect)
MailNews Core
Filters
Tracking
(Not tracked)
NEW
People
(Reporter: BenB, Unassigned)
References
Details
(Whiteboard: [filterfail])
Attachments
(1 obsolete file)
Environment:
- IMAP account on UW-IMAP server
- Mozilla build from Feb 1.
Reproduction:
1. Set up a (client-side) filter to move certain mails to another folder
2. Send yourself a mail which triggers the filter
3. Go to the folder where is has been sorted and move it back to the INBOX.
Do not open it.
4. Open INBOX to read the mail.
5. Repeat from 3.
Actual result:
The mail gets filtered again. It won't stay in INBOX.
Expected result:
Mails once filtered, seen or touched won't get filteres again.
Additional Comments:
- Try the same, but this time uncheck the read flag of the filtered in the
folder where it's sorted to. Now, the mail will stay in INBOX. This means that
the filtering depends on the "read" flag.
- ... but it shouldn't. IMAP has a Special SEEN flag, IIRC, which says, if the
user ever opened the folder with the mail, i.e. saw the mail('s header line).
This seems to be the more correct flag to use.
Comment 1•24 years ago
|
||
I have also been bitten by this because sometimes I go back to 4x because I am
working in some other profile. fix upcoming.
Status: NEW → ASSIGNED
Comment 2•24 years ago
|
||
The fix is to allow filtering on read/seen headers also.
Comment 3•24 years ago
|
||
Cavin, Dave, looking for r & sr, thx.
Comment 4•24 years ago
|
||
unless I'm very much mistaken, your change will make it so we filter on all
messages, and Ben wants us to just filter on /recent messages, so you're doing
the opposite of what Ben wants.
Comment 5•24 years ago
|
||
Let me file a separate bug, I can't make out what ben really wants. My patch
will filter all hdrs that are downloaded in Inbox (if they are not deleted).
Comment 6•24 years ago
|
||
I discussed this with david. Ben and I both are at odds. This is not the right
way to fix my problem. A better solution is to use manual filters (when we have
implemented them :( ).
| Reporter | ||
Comment 7•24 years ago
|
||
bienvenu, I am always confused about the names of the IMAP flags. You comment 4
suggests that I misused them here, but I think you know what I mean. Can you
correct them, please?
Comment 8•24 years ago
|
||
Ben, you're suggesting using the /RECENT flag - I've updated the summary.
Summary: Filters filter NEW, not UNSEEN mails → IMAP Filters filter /RECENT, not UNSEEN mails
Updated•21 years ago
|
Product: MailNews → Core
Comment 10•19 years ago
|
||
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Updated•18 years ago
|
QA Contact: laurel → filters
| Assignee | ||
Updated•18 years ago
|
Product: Core → MailNews Core
Updated•16 years ago
|
Whiteboard: [has draft patch]
Comment 11•15 years ago
|
||
Comment on attachment 82860 [details] [diff] [review]
proposed fix
This patch seems wrong according to the comments.
Attachment #82860 -
Attachment is obsolete: true
| Reporter | ||
Comment 12•15 years ago
|
||
One disadvantage of my solution: If another IMAP mail client has seen the mail, they won't get filtered anymore. Maybe David would be able to think of a solution. It's not urgent, though, obviously.
| Reporter | ||
Comment 13•15 years ago
|
||
(I do believe that the observed behavior is a bug, though.)
Whiteboard: [has draft patch]
| Reporter | ||
Comment 14•15 years ago
|
||
Maybe a solution is to stick a custom IMAP flag (not MIME header) on it, like "is-filtered".
Comment 15•13 years ago
|
||
Please if anything as done with this make it as an option as I personally don't see this is a bug... I had a bunch of mail get filter from folders to the spam folder on another computer so I unmarked them as SPAM and my main computer filtered them back into the proper folders.
| Reporter | ||
Comment 16•13 years ago
|
||
George, yes, I (the reporter) agree with you. The summary was wrong.
Summary: IMAP Filters filter /RECENT, not UNSEEN mails → IMAP Filters filter UNSEEN (unread), should filter only RECENT (new) mails
| Reporter | ||
Updated•13 years ago
|
Summary: IMAP Filters filter UNSEEN (unread), should filter only RECENT (new) mails → IMAP Filters filter unread (UNSEEN), should filter only new (RECENT) mails
Updated•4 years ago
|
Severity: normal → S3
Updated•1 month ago
|
Summary: IMAP Filters filter unread (UNSEEN), should filter only new (RECENT) mails → IMAP Filters filter unread (UNSEEN), should filter only new (RECENT) mails. Message gets filtered again if moved to Inbox
Whiteboard: [filterfail]
You need to log in
before you can comment on or make changes to this bug.
Description
•