When marking mail as junk it does not move to junk folder as is set to do



MailNews Core
7 years ago
5 years ago


(Reporter: John Vivirito, Unassigned)



Firefox Tracking Flags

(Not tracked)




7 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.10 Chromium/8.0.558.0 Chrome/8.0.558.0 Safari/534.10
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20101011 Shredder/3.1.6pre

This bug is a regression of bug https://bugzilla.mozilla.org/show_bug.cgi?id=487610

I am using "Enable adaptive junk mail controls for this account" and it fails to move them to the junk folder. 

Reproducible: Always

Steps to Reproduce:
1.When I mark a message as junk:
 (X) Move them to the account's "Junk" folder
2. It does not move 
3. I also have "Enable adaptive junk mail controls for this account" enabled and it moves them as it sees them
Actual Results:  
When i manually mark email as junk it does not move anywhere.

Expected Results:  
I should move all mail that i mark as junk to the junk folder for the account

No matter how i set the settings it will not move them in any of my boxes (using POP)
Full version of Thunderbird:
  Installed: 3.1.6~hg20101004r5824+nobinonly-0ubuntu2~umd3

Comment 1

7 years ago
Not sure how to set blocks but this should be marked as a blocker due to it being a regression
Does starting Thunderbird in -safe-mode any help ?
Blocks: 487610
Component: General → Filters
Keywords: regression
Product: Thunderbird → MailNews Core
QA Contact: general → filters


7 years ago

Comment 3

7 years ago
Sorry for not getting back to you sooner but no --safe-mode nor new profile changes this. 

I am now using the following version
gnomefreak@Development:~$ policy thunderbird
  Installed: 3.1.8~hg20110106r5920+nobinonly-0ubuntu1~umd1
  Candidate: 3.1.8~hg20110106r5920+nobinonly-0ubuntu1~umd1

Comment 4

6 years ago
rkent, any thoughts on this being a regression?

Comment 5

6 years ago
I have seen similar reports to those of the reporter in the past, that junk mail does not move, frequently with unknown cause. In fact bug 487610, which the reporter states as causing a regression here, fixed one such case (where adaptive controls were not enabled.) Looking at that patch, I don't see any likely changes that would cause the regression described by the reporter. Reporter has also not described the kinds of tests that would be needed to confirm that his symptom is indeed a regression of that bug.

What is needed to fix these kinds of issues is a clear set of steps to reproduce. The steps given in comment 0 are incomplete, as I can do those and not see the bug. Really the STR needs to start from a fresh profile, but I would expect that with a fresh profile the reporter would not be able to reproduce the bug.

So these problems I suspect occur as a consequence of a particular order of enabling features and manipulating folders. If we had a clear STR of a particular sequence that caused this issue, we might be able to fix it. Otherwise I would not really know what to change.


Comment 6

6 years ago
In comment 3, however, STR stated that neither -safe-mode nor a new profile helped.

I wonder if this is an IMAP related?  I had similar issues previously with GMail when I first swapped over to using GMail via IMAP.  More recently, in 3.2.x and Shredder builds this issue has gone away....

Comment 7

6 years ago
I'm seing the same problem with Local Folders used as Global Inbox for a bunch of Pop accounts.
In additional, while "Enable adaptive junk controls" is checked, I'm unable to select a folder to move the junk to (neither for Local Folders not for any of the pop accounts). If this is the cause I'm unsure how to fix it.

Comment 8

6 years ago
I have the same problem. I am using Thunderbird 5.0. But this has been a problem for years.

Marking a message as junk in Inbox using the junk icon does not move it to the junk folder. 

But the reverse works, i.e. marking a message as "no junk" in the junk box moves it back to the Inbox.

I too use IMAP.

Comment 9

6 years ago
I've followed all hints on http://kb.mozillazine.org/Junk_messages_not_moved to no help.

I've also manually hacked the junk folder settings into the prefs.js as the TB UI didn't let me set them:

user_pref("mail.server.server1.spamActionTargetAccount", "mailbox://cpuidle%40gmx.de@pop.gmx.net");
user_pref("mail.server.server1.spamActionTargetFolder", "mailbox://nobody@Local%20Folders/Junk");

Still- not working, however settings are now displayed in TB UI at least. This sucks :(

Comment 10

6 years ago
So. We have a bug that is a year old, renders junk functionality useless and is still present in latest version. As Kent pointed out in comment 5 we need steps to reproduce. 

Here they are:

1. Create new profile
2. Start TB and create POP account using startup wizard (uncheck "use TB as default mail client")
3. Let TB download all mail
4. Enable "move new junk messages to"
5. Mark message as junk -> message is flagged but not moved

This happens regardless if executed in safe mode or not. What else is needed to get this one analyzed and fixed?

Comment 11

6 years ago
"Move new junk messages to" applies to messages that are automatically determined to be junk. From your STR, there is no training, hence no messages can be determined to be junk.

I think what you want to set is Tools/Options/Security/Junk/"When I mark messages as junk: Move them to the account's "Junk" folder

Comment 12

6 years ago
OMG. This is such a stupid mistake that it hurts. Thank you- working! I will contributing by commenting on http://kb.mozillazine.org/Junk_messages_not_moved to make sure this obvious issue is also captured there.

Shouldn't this setting be enabled by default (feature request)?

Comment 13

6 years ago
Well the good news is that your STR was very clear, and that is often the key to progress.

Comment 14

6 years ago
With all the comments confirming this bug it should be marked as confirmed. 
Please mark as such. 

Also this problem still is seen in version:

  Installed: 10.0~a1~hg20111106r8793.79862-0ubuntu1~umd1
  Candidate: 10.0~a1~hg20111106r8793.79862-0ubuntu1~umd1

Comment 15

6 years ago
John, do you still see this?  And if junk logging is enabled does behavior change if you disable logging?

Comment 16

5 years ago
(In reply to Wayne Mery (:wsmwk) from comment #15)
> John, do you still see this?  And if junk logging is enabled does behavior
> change if you disable logging?
Flags: needinfo?(gnomefreak)


5 years ago
Whiteboard: [closeme 2012-12-01]

Comment 17

5 years ago
Resolved per whiteboard
Last Resolved: 5 years ago
Flags: needinfo?(gnomefreak)
Resolution: --- → INCOMPLETE
Whiteboard: [closeme 2012-12-01]
You need to log in before you can comment on or make changes to this bug.