After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 253110 - Trash and Junk folders cannot be removed
Trash and Junk folders cannot be removed
Status: RESOLVED DUPLICATE of bug 268741
Product: evolution
Classification: Applications
Component: Mailer
1.5.x (obsolete)
Other All
: Normal normal
: Future
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on: 269010
Blocks:
 
 
Reported: 2004-01-20 09:09 UTC by David Woodhouse
Modified: 2007-03-22 22:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to make unwanted folders optional. (1.74 KB, patch)
2006-03-26 12:47 UTC, David Woodhouse
rejected Details | Review

Description David Woodhouse 2004-01-20 09:09:21 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.
Comment 1 Radek Doulik 2004-01-28 08:30:39 UTC
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)
Comment 2 David Woodhouse 2004-01-28 08:40:08 UTC
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.
Comment 3 David Woodhouse 2004-01-28 08:44:36 UTC
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'. :)
Comment 4 Radek Doulik 2004-01-29 12:18:25 UTC
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?)
Comment 5 David Woodhouse 2004-01-29 14:23:44 UTC
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?
Comment 6 Priit Laes 2004-04-20 06:38:54 UTC
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
Comment 7 Not Zed 2005-01-28 04:57:31 UTC
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 ***
Comment 8 David Woodhouse 2006-03-26 12:46:01 UTC
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.
Comment 9 David Woodhouse 2006-03-26 12:47:29 UTC
Created attachment 62031 [details] [review]
patch to make unwanted folders optional.
Comment 10 David Woodhouse 2006-03-27 01:21:34 UTC
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. 
Comment 11 William Shubert 2006-04-15 08:43:17 UTC
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. :-(
Comment 12 Jeffrey Stedfast 2006-04-17 15:06:09 UTC
go to Edit -> Plugins

then scroll down the list of plugins and uncheck the one called "Spamassassin junk plugin"

that should work.
Comment 13 William Shubert 2006-04-17 15:12:30 UTC
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.
Comment 14 William Shubert 2006-04-20 06:56:33 UTC
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.
Comment 15 Jeffrey Stedfast 2006-04-20 14:25:30 UTC
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 ***
Comment 16 Michael Gratton 2006-04-20 15:10:57 UTC
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.
Comment 17 David Woodhouse 2006-04-20 20:56:07 UTC
There's a simple patch already attached to this bug. Does this bugzilla have an 'EASYFIX' marker or something like that?
Comment 18 Martin Leopold 2007-03-22 22:02:54 UTC
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.