Closed
Bug 180857
Opened 22 years ago
Closed 22 years ago
make spam-status more strongly bound to the message on IMAP
Categories
(MailNews Core :: Filters, enhancement)
MailNews Core
Filters
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.3beta
People
(Reporter: dmosedale, Assigned: Bienvenu)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
23.24 KB,
patch
|
Details | Diff | Splinter Review | |
683 bytes,
patch
|
sspitzer
:
review+
sspitzer
:
superreview+
asa
:
approval1.3b+
|
Details | Diff | Splinter Review |
We want spam-status to be persist across message moves, and (in the case of
IMAP) viewable from multiple clients. For IMAP, we'll probably confine this to
servers that support keywords. bienvenu, how would you recommend doing this for
local/POP (eg for when messages are moved between folders)?
Assignee | ||
Comment 1•22 years ago
|
||
for copying messages between local folders, I would have thought this would just
work. I'll look into it.
Assignee | ||
Comment 2•22 years ago
|
||
it already works for move/copying messages between local folders. For copying
from imap to local folders, if we care, we'll need to figure out something.
Comment 3•22 years ago
|
||
this would be nice for imap. it's annoying seeing the "junk status unknown"
icon when I move a message to a folder then view that folder, or delete a
message and decide I want it back and do undo. In either case they have the
"unknown" icon.
Alternatively, you could analyze any "junk status unknown" emails every time you
enter a folder whether they're old or new, although that sounds wasteful.
Reporter | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Summary: make spam-status more strongly bound to the message → make spam-status more strongly bound to the message on IMAP
Reporter | ||
Comment 4•22 years ago
|
||
*** Bug 181040 has been marked as a duplicate of this bug. ***
*** Bug 182421 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 7•22 years ago
|
||
this patch uses imap custom keywords to store junk/non junk status. This means
that imap messages that are scored and then moved to other imap folders will
have their status carried along with them, and we won't rescore them (if
they're unread/new), or show their status as unknown. This does not affect
local messages.
Comment 9•22 years ago
|
||
I guess the same applies if I connect from diferent Mozilla's to the same
account, right?
Assignee | ||
Comment 10•22 years ago
|
||
yes, it applies when mozilla is run from different machines against the same
imap folders as well.
Comment 11•22 years ago
|
||
david is going to make a few changes related to the junkscoreorigin attribute,
and then checkin, r/sr=sspitzer
there's a spin off issue, I'll log in and link to it.
Assignee | ||
Comment 12•22 years ago
|
||
fix checked in - bear in mind, this is only for imap, which is what this bug is
about.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 13•22 years ago
|
||
spin off issue (about junkscoreorigin attribute) is bug #189951
from that bug:
"I claim our assumption is ok (for now) because if the user manually sets the
classification, they are less likely to re-classify again. and if they don't
reclassify, it doesn't matter if the origin is wrong."
david, do we need another spin off bug about not doing this on ever folder open
(or something like that?)
Blocks: 189951
Comment 14•22 years ago
|
||
"david, do we need another spin off bug about not doing this on ever folder open
(or something like that?)"
ignore me. I was confused.
Comment 15•22 years ago
|
||
Seth and David, I read this bug and seth's spin off bug but am still not sure I
understand what is suppose to happen when the user changes their mind about an
IMAP message in their Inbox that is flagged as Junk. I ran into this and am
seeing that messages flagged as Junk in the Inbox are not changing the status on
the server when I remove the junk status in the thread pane of the Inbox.
1. Launch Mail and log into your IMAP account.
2. Mark several messsages as Junk, don't move them for this test. Ping the
server by getting new messages or waiting for biff.
3. Exit the app
4. Relaunch app and open your IMAP account again.
5. Remove the junk status of a couple of your messages that are marked as Junk.
Ping the server again so this change can take place on the server.
6. Exit the app and relaunch again, logging into that same account.
Result: the messages in my Inbox that I removed the junk status from are
reflagged as junk.
Expected: the messages in my Inbox that I removed the junk status from should
not have the junk status.
Note, I tried this with by creating a new profile in step 6 so there wasn't an
issue with the training.dat file, that new profile brought the messages in as
junk, this means they are still flagged as junk on the server.
Assignee | ||
Comment 16•22 years ago
|
||
we weren't subtracting the flags correctly.
Comment 18•22 years ago
|
||
Comment on attachment 112829 [details] [diff] [review]
proposed fix
thanks david.
r/sr=sspitzer
I'll seek approval.
Attachment #112829 -
Flags: superreview+
Attachment #112829 -
Flags: review+
Attachment #112829 -
Flags: approval1.3b?
Comment 19•22 years ago
|
||
Comment on attachment 112829 [details] [diff] [review]
proposed fix
a=asa (on behalf of drivers) for checkin to 1.3beta.
Attachment #112829 -
Flags: approval1.3b? → approval1.3b+
Comment 20•22 years ago
|
||
I've checked in david's supplimental patch.
thanks, david.
QA Contact: laurel → esther
Target Milestone: --- → mozilla1.3beta
Comment 21•22 years ago
|
||
Thanks, I'll test it asap.
Comment 22•22 years ago
|
||
Using trunk build 20030128 on winxp, linux and mac osx I verfified the portion
of this bug where changing the junk status of a message in the IMAP Inbox is
holding. Now I need to verify that the junk status moves to another folder.
Comment 23•22 years ago
|
||
Using trunk build 20030128 on linux, mac osx and winxp email messages flagged as
Junk in an IMAP folder stay flagged as Junk when moving the message to another
IMAP folder. Verifying this bug as stated, I will open a new one for the IMAP
to POP move/copy not keeping the junk status. Also, found a side bug regarding
changing the status, then pinging the server causes status of that message to
lose the Junk icon in thread view, the server appears to keep the status state.
I will log a separate bug for these two issues.
Status: RESOLVED → VERIFIED
Comment 24•22 years ago
|
||
*** Bug 190908 has been marked as a duplicate of this bug. ***
Comment 25•22 years ago
|
||
*** Bug 190356 has been marked as a duplicate of this bug. ***
Updated•22 years ago
|
Flags: blocking1.3b?
Comment 26•22 years ago
|
||
on the 1-28 5 am build, I see this:
mark a message as junk (using the thread pane icon)
hit get msg
message becomes not junk.
wasn't david's fix (checked in on 1-27 by seth) supposed to fix that?
Assignee | ||
Comment 27•22 years ago
|
||
yes, that should have fixed it. My local debug build works fine, but the release
build I downloaded doesn't - I'll have to go look at the checkin, and my patch.
Assignee | ||
Comment 28•22 years ago
|
||
hmm, I tried it again with my release build and it worked this time. So there's
something weird going on.
Comment 29•22 years ago
|
||
After I exited the app and relaunched the junk status was there. I haven't seen
this again today with the same build. What I reporteded in comment 15 was the
server not removing the junk flag per my removal in the UI. In this more recent
case I was adding the Junk status via UI, the UI was removing it within a minute
but the server it kept the junk flag. I will investigate more and log a new bug
if I can reproduce.
Comment 30•22 years ago
|
||
*** Bug 191289 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•