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 585353 - Marking Junk doesn't work on mapi account
Marking Junk doesn't work on mapi account
Status: RESOLVED FIXED
Product: evolution-mapi
Classification: Applications
Component: Mail
0.27.x
Other All
: Normal major
: ---
Assigned To: evolution-mapi-maint
evolution-mapi-maint
Depends on:
Blocks:
 
 
Reported: 2009-06-10 16:30 UTC by David Ronis
Modified: 2010-06-08 16:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
ema patch (move to junk folder) (6.94 KB, patch)
2010-06-08 16:21 UTC, Milan Crha
committed Details | Review

Description David Ronis 2009-06-10 16:30:48 UTC
Please describe the problem:
I delete mail from my mapi account and/or mark it as junk on my local machine.  It seems to dissappear from evolution completely; i.e., it doesn't appear in the local junk and/or trash folders.  It also doesn't appear in the exchange account's "Deleted Items" and/or "Junk E-mail" folders.   I've also noticed (by going onto the exchange account using our place's web outlook interface) that the deleted items aren't really deleted.  They are still there, but no longer seen by evolution.

I've also had problems with what looks like deadlocks that are triggered when I delete/mark junk in the exchange account.

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
I'm running the head versions of evo & friends.
Comment 1 David Ronis 2009-06-11 16:47:15 UTC
I ran from a console and noticed the following:

(evolution:11209): camel-mapi-provider-WARNING **: Unable to load summary no such table: Mailbox - Associate Chair Chemistry/Drafts


(evolution:11209): camel-mapi-provider-WARNING **: Unable to load summary no such table: Mailbox - Associate Chair Chemistry/Junk E-mail


exchange-mapi-connection.c:2219: Entering exchange_mapi_set_flags libexchangemap
i-Message: exchange-mapi-connection.c:2221: exchange_mapi_set_flags: lock(connect_lock)
libexchangemapi-Message: exchange-mapi-connection.c:2259: exchange_mapi_set_flags: unlock(connect_lock)

Comment 2 Johnny Jacob 2009-08-06 05:54:55 UTC
Syncing deleted items was fixed (b13a00ba9fa7596c70d4715f738ab3e441af3502) (bug #583490) and available from 0.27.3.

Will take a look at the 'marking message as junk' part.

Rephrasing summary.
Comment 3 Milan Crha 2010-06-08 16:21:34 UTC
Created attachment 163079 [details] [review]
ema patch (move to junk folder)

for evolution-mapi;

This moves messages marked as junk to junk folder on the server. It cannot move them back when you mark them as not junk, but that's probably obvious. This patch also requires some small changes in evolution-data-server and evolution itself (see next comment) for a new CamelStore flag and its usage in message-list.c in evolution, to hide junk messages from a view even when the store doesn't have virtual junk folder.
Comment 4 Milan Crha 2010-06-08 16:26:57 UTC
Created commit 496d881 in eds master (2.31.4+)
Created commit 8d37021 in evo master (2.31.4+)
Created commit ceb5d6c in ema master (0.31.4+)