Closed Bug 186588 Opened 22 years ago Closed 22 years ago

[spam] don't classify new messages in the trash folder

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.3beta

People

(Reporter: sspitzer, Assigned: sspitzer)

References

Details

thanks to bienvenu for finding this.

we classify messages in the trash for spam
we shouldn't do that.
that explains why I get a lot of duplicate spam in my spam folder

I delete it.
then, the trash gets selected, we classify, and it gets copied back to my spam
folder

I wouldn't have noticed it.
but I was trying to track down that problem where checking other folders besides
the inbox for new messages  caused problems
so I configured the trash folder to do that.
and whenever I deleted spam messages
they'd reappear.

the fix should be simple, just check that folder is not the trash folder (or the
spam folder)

two place to fix:

C:\trees\trunk\mozilla\mailnews\imap\src\nsImapMailFolder.cpp(7131):    if
(!(mFlags & MSG_FOLDER_FLAG_JUNK))
C:\trees\trunk\mozilla\mailnews\local\src\nsLocalMailFolder.cpp(3420):    if
(!(mFlags & MSG_FOLDER_FLAG_JUNK))
fix in hand, and part of the fix for #181397
Status: NEW → ASSIGNED
Depends on: 181397
A preferable solution to this would be to bind the Junk state to the message
(either local of IMAP) (bug 180857) and, if the Junk state is known then to not
run the filter at all. This would prevent re-scanning messages regardless of
what folder they end up in.

As a dial-up user that often gets Virus and classifies them as Junk, I find that
the double download/scan is a tremendous waste of time (Inbox -> Scan -> Move to
Folder, open Folder -> Scan).
this particular bug is fixed.

we need another bug about the scan-move-scan problem.

I'll log it, unless someone beats me to it.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
the "scan-move-scan problem" is bug #180857, and it has been fixed (by bienvenu)
QA Contact: laurel → esther
Target Milestone: --- → mozilla1.3beta
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.