GNOME Bugzilla – Bug 253110
Trash and Junk folders cannot be removed
Last modified: 2007-03-22 22:02:54 UTC
Description of Problem: Evo is displaying a Trash folder which doesn't really exist but can't be deleted, and it doesn't let me see the mail in my Junk folder. Steps to reproduce the problem: 1. Select confusing and unwanted 'Trash' folder which appears to be part of my IMAP folders. 2. Delete folder. 3. Select Junk folder which contains lots of junk and jokes from friends. Actual Results: 1. The Trash folder does not go away. No error message is shown. 2. The Junk folder is empty, although I _know_ there are mails in it. Expected Results: 1. The Trash folder should be deleted when I delete it. In fact, since it does not exist on the IMAP folder (it's Courier IMAP but with the silly 'automatically create a Trash folder' option turned off to avoid confusing the users), the Trash folder should never have been there in the first place. 2. The Junk folder should have the mail I put there, not be empty. How often does this happen? 100% repeatable. Additional Information: These folders need to be optional, and they should probably be off by default. It's not good to mix them up with the real IMAP folders, and especially to block access to real folders.
what do you mean by: "The Junk folder is empty, although I _know_ there are mails in it."? a) it doesn't show the count of unread messages b) it doesn't contain anything when I click on it (it may take a while before it opens if you have a lot of mail - it's vfolder)
For years I have had a 'Junk' folder, to which I save all the silly jokes and other junk which is sent to me by friends and colleagues. In Evolution 1.4 I can see all the mails which I have saved to my Junk folder on the IMAP server. In Evolution 1.5 I cannot see those mails. My Junk folder appears to be empty, instead. All the mails are missing. What is a 'vFolder'? I do not understand.
I fired up pine and moved everything from the 'Junk' folder to the 'Trash' folder instead. (The word 'trash' has a slightly different meaning in en_GB). That didn't help either. Renaming it to 'fish' worked, but I didn't want it called 'fish'. :)
it's because evolution has own Trash/Junk (v)folders and hides the original ones. NZ, Jeff, what is your opinion on this? Is it possible to show the real IMAP Trash/Junk folders under INBOX or something. (I remember the IMAP trash folder under INBOX at some point and it was hidden again, but I don't remember the reasons for it. I guess we hide it to not confuse users with 2 trash folders, if that is the case, we may provide option for it? or is it some other way?)
What if there are Trash and/or Junk folders under INBOX _too_? There is nowhere in the IMAP namespace which you can sensibly pollute with your own folders, _particularly_ unconditionally. You need to either make it conditional or put it in a separate folder heirarchy -- don't you already have a 'vFolders' heirarchy?
Would it be possible to show some kind of separator between system folders and users folder? Inbox User mailfolders and you can have "Trash" and "Junk" folder here too... ---separator--- Junk Trash Outbox Drafts Sent
this is intentional, they're not able to be deleted. Neither is inbox, outbox, etc. 68741 is the real issue anyway, hiding existing Junk/Trash folders. *** This bug has been marked as a duplicate of 268741 ***
Reopening -- I still cannot remove these folders. It is not true that the outbox cannot be deleted. I can nominate any folder I like in my IMAP server (or elsewhere) to save my sent mail in; there's nothing special about the 'outgoing' folder I happen to use. The INBOX is special, but that's because IMAP says so. The 'Trash' and 'Junk' folders are entirely unwanted, and cause confusion. For my father's computer I always disable them.
Created attachment 62031 [details] [review] patch to make unwanted folders optional.
Someone's just pointed out to me what NotZed meant about 'outbox' in comment #7, so obviously he was just being obtuse -- since that's one of the local folders in the 'On This Computer' part of the tree, rather than being in the part of the tree which belongs to the IMAP server. You can do what you like in the local folder tree -- that's your namespace to play with. Although it would still be better if 'Junk' were absent in the optimal case where all filtering is done server-side. This bug is purely about the abuse of the IMAP namespace.
I find bugs worse than the appearance of the irritating and useless (to those of us with server-side spam filtering) folder: THE DAMN THING WON'T STOP FILTERING. One day I had a large folder selected, and accidentally clicked the "junk" toolbar button instead of the button I intended. Now most of my !@*$*!@$ mail disappears and moves to "junk" when I read. Marking as "not junk" has reduced but not eliminated the problem; weeks later, about 10% of my mail still lands in "junk". I have unchecked "Check new messages for Junk contents" in the IMAP account editor. I have unchecked "Check incoming mail for junk" in the "Mail Preferences". NOTHING WORKS. THE DAMN THING KEEPS EATING MY MAIL. How can I disable this stupid junk filtering for once and for all? I can't use a mailer that keeps eating my emails and shoving them where they don't belong. All I want is to shut this off. :-(
go to Edit -> Plugins then scroll down the list of plugins and uncheck the one called "Spamassassin junk plugin" that should work.
It is already unchecked. In fact, I got desperate enough to run "rpm -e --nodeps spamassassin". Doesn't help. It *STILL* is putting my good email into the damn trash vfolder.
Aha! Maybe the mystery is solved. I have some shared folders on the IMAP server. Is it possible that the "junk" flag is being set by somebody else's Evolution client, then honored by mine? The server is cyrus-imapd 2.2.12 (RHEL4 standard RPM). If that is the case, then the problem seems to be that evolution pays attention to the "is junk" flag even when you tell it "don't use junk filtering." If the junk flag is never stored on the IMAP server, then I'm wrong, and something else is going on here.
aha, indeed we do respect the "Junk" flag set on messages on the IMAP server... I think this was to be interoperable with Mozilla mail but other mailers may also set this flag. *** This bug has been marked as a duplicate of 268741 ***
Please reopen. This isn't a dupe of 268741 - that is about a real folder called "Junk" being obscured for some reason. This bug is about the Junk and Trash vfolders always being present, even if they are not used. Eg: I do not use junk mail filtering in Evo at all, but the "Junk" vfolder is still displayed for all three of my accounts.
There's a simple patch already attached to this bug. Does this bugzilla have an 'EASYFIX' marker or something like that?
I agree with the the previous comments this is an entirely different issue that persists in Evolution 2.8 - it is not a duplicate of 268741. I'm sure I'm not the only one suffering from this problem, so please consider reopen the bug. Martin.