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 353715 - Can't see any "Junk" mail (Exchange account)
Can't see any "Junk" mail (Exchange account)
Status: RESOLVED DUPLICATE of bug 257641
Product: evolution
Classification: Applications
Component: Mailer
2.6.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 502584 507768 529534 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-08-31 18:22 UTC by Paul Smith
Modified: 2010-03-25 04:21 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Paul Smith 2006-08-31 18:22:17 UTC
Please describe the problem:
I'm using Ubuntu 6.06.1.  I am attaching to an Exchange server for my mail accounts.  I have been marking mail as "Junk" with the "Junk" button on the toolbar, and when I do that the mail disappears.  I thought it was being deleted, but I happened to log in remotely and used Outlook Web Access to view my Exchange account, and lo and behold all the junk mail was still in my inbox!  I've learned that Evo just marks items as "junk" so they aren't actually moved, which is fine with me... except that I can't see them at all through Evo!

I've looked in every single folder both local ("On this computer") and in the Exchange account, and those messages aren't visible anywhere in any folder... so I can't delete them, or see whether any items were automatically marked as junk when they shouldn't have been.

I've also tried looking through the menu items to find a way to let Evo display the junk messages in the inbox folder, but can't find anything: things like View -> Show Hidden Messages have no effect).

Steps to reproduce:
1. Get a junk email in your Exchange account
2. Click "Junk" button



Actual results:
The mail disappears, as it should... but then nothing in Evo (that I've found) will ever display it again, even though it still exists!

Expected results:
I should be able to see it in the junk folder; either the local one (On this computer -> Junk) or the Exchange folder (<Exchange> -> Junk E-Mail)

Does this happen every time?
Yes

Other information:
Comment 1 Basilio Kublik 2007-11-02 00:04:38 UTC
Hi Paul
Does this still happens to you, it hasn't been much activity here, so maybe this issue was solved?
Comment 2 Paul Smith 2007-11-02 00:41:57 UTC
I actually don't know; I've stopped marking email as "Junk" in my Exchange account altogether.  Since my work account does do spam filtering, I don't get many junk messages there anyway, so I've just been deleting them.

I'll try using the Junk button on my exchange account again and see what happens.

FWIW, the Junk button works great with my POP and IMAP accounts.
Comment 3 Basilio Kublik 2007-11-02 00:54:35 UTC
Thanks Paul, that would be great.
Comment 4 Paul Smith 2007-11-02 14:29:02 UTC
I happened to get a junk mail last night, so I tried this.  I still see the same behavior: when I click the Junk button the mail disappears from my inbox.  However, it doesn't appear in the "Junk E-Mail" folder that Exchange created for me.  Neither does it appear in the "Deleted" folder in my Exchange account; I can't find it anywhere.  However, if I go to another host and log into my Exchange account through evolution, I still see the message in my Inbox.  Also if I log in from my browser I see it in my Inbox still.

I'm not sure what the correct behavior is for this situation (maybe for Exchange, the junk filter should actually move the mail to "Junk E-Mail"?).
Comment 5 g11024342@trbvm.com 2008-02-21 08:26:43 UTC
Confirmed... I'm using evolution-exchange 2.21.91-0ubuntu2. I did have the Junk folder a couple of weeks ago though! (I'm on Hardy Heron so my versions change a lot).
Comment 6 Bharath Acharya 2008-02-22 06:29:01 UTC
*** Bug 502584 has been marked as a duplicate of this bug. ***
Comment 7 Bharath Acharya 2008-02-22 06:37:26 UTC
Hello Paul,

Can you disable all the checks in Edit-> Preferences-> Mail Preferences->Junk
Tab and check if all the junk mails appear in your Mailbox again while fetching them fresh.

Junk-mail handling in Exchange should ideally happen as per comment #4. Needs some work though.
Comment 8 Bharath Acharya 2008-02-22 11:17:12 UTC
*** Bug 507768 has been marked as a duplicate of this bug. ***
Comment 9 Paul Smith 2008-02-22 12:57:16 UTC
It's actually difficult for me to do this because I get very little junk mail in my Exchange account; we have corporate junk mail filters which only lets through one or two messages a week, typically.  Maybe one of the other people seeing this problem would be able to do it more easily?

It's not clear to me exactly what you are suggesting: you want me to mark an email as Junk, by hand, so it disappears, then disable junk checking and click Send/Receive email and see if the message reappears again?  Or restart Evo?  Or delete the local caching in ~/.evolution?  Or...?
Comment 10 g11024342@trbvm.com 2008-02-22 13:03:20 UTC
0) Had already a couple of Junk-marked emails that was missing because I could see them in OWA
1) Disabled Junk for my Exchange account. No emails re-appeared.
2) evolution --force-shutdown
3) rm -rf .evolution/exchange .evolution/mail/exchange
4) Started Evolution
5) The previously missing emails were back
Comment 11 Bharath Acharya 2008-02-26 04:21:14 UTC
Thanks Thomas for verifying this behaviour.
Comment 12 joe seeger 2008-04-02 14:55:46 UTC
Using 2.12 with Ubuntu Gutsy Gibbon and spam-assassin until yesterday.  Spam was filtered into a Junk virtual folder which I did not create.  I could scan the items in the Junk folder and delete them or mark as non-junk.

Updated to Ubuntu Hardy Heron, including Evolution 2.22.  I no longer see the Junk virtual folder.  When I first start Evo, the junk messages appear in Inbox, with filter running.  Once the filter completes, the junk messages disappear, and are not available in any folder.

I have repeated Thomas' steps from Comment #9, along with his results.  

I have manually created a Junk virtual folder, asking that messages with Junk status be included, but they do not appear there.

I have deleted and recreated my exchange account with no change in behavior.
Comment 13 Shane Par-Due 2008-04-19 23:05:27 UTC
I've disabled the junk mail filter and spamassassin's filter, but I still get the same problem. I can do what Thomas mentioned, but it seems to occur regularly. I can't pinpoint how it happens.
Comment 14 Heikki Henriksen 2008-04-23 13:03:32 UTC
*** Bug 529534 has been marked as a duplicate of this bug. ***
Comment 15 scott.parkerson 2009-06-05 17:25:17 UTC
I have been seeing this problem with my Evolution Exchange account since Evolution 2.24 and onward.

An easy way to reproduce:

1. Set up a filter that matches subjects that start with "[OMG PONIES SPAM]". Make sure that your Exchange account is filtering stuff in your inbox.

2. Send yourself a message with the offending subject line.

3. Email doesn't appear in Evolution, nor is there an UI to resurrect it from the dead. Just like the OP said, there is no vfolder for "Junk" for the Exchange account. 

Using sqlite3 to examine the contents of the Evolution folder in $HOME/.evolution/mail/exchange/<account_name>/folders.db, you will be able to see the email if you run SELECT junk, subject FROM "<folder_name>"; (in my case, folder is "personal/Inbox", but your mileage may vary). You can even resurrect junk mails this way by setting the junk flag to 0, but that's nasty and might have side effects, since there is another table called '#.evolution/junk' that has pointers to junk mail for quick lookups, I'd imagine.

This Fedora 9 bug is similar, if not the same thing:
https://bugzilla.redhat.com/show_bug.cgi?id=455220

Comment 16 scott.parkerson 2009-06-05 17:26:47 UTC
Note: the filter I mention above in step #1 should "Set Status" -> "Junk" and then stop processing.
Comment 17 Akhil Laddha 2010-03-25 04:21:12 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 257641 ***