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 671893 - Filter by 'Mailing list' doesn't work
Filter by 'Mailing list' doesn't work
Status: RESOLVED FIXED
Product: evolution-ews
Classification: Other
Component: Mail
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: Evolution EWS maintainer(s)
Evolution EWS maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-03-12 12:34 UTC by Dams
Modified: 2012-11-28 16:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ews patch (1.63 KB, patch)
2012-11-28 16:38 UTC, Milan Crha
committed Details | Review

Description Dams 2012-03-12 12:34:26 UTC
System setup: I'm running up-to-date fedora 16 x86_64

Evolution-related pacakges are:
evolution-3.2.3-1.fc16.x86_64
evolution-bogofilter-3.2.3-1.fc16.x86_64
evolution-couchdb-0.5.91-4.fc16.x86_64
evolution-data-server-3.2.3-2.fc16.x86_64
evolution-ews-3.2.3-1.fc16.x86_64
evolution-exchange-3.2.3-1.fc16.x86_64
evolution-help-3.2.3-1.fc16.noarch
evolution-mapi-3.2.3-1.fc16.x86_64
evolution-pst-3.2.3-1.fc16.x86_64
evolution-rss-0.2.90-32.20111108git.fc16.x86_64


Description:
I'm using an "ews" account. I've created some filters according to the "List" I received the mails from but evolution doesnt filter the mails. The mails stays in the ews Inbox.

How to reproduce:
1. Receive a mail from a mailing-list.
2. Right-click on the mail, select "Create Rule", and then "Filter on mailing-list"
3. In the rule-creation window, select a folder to move the mail to click OK
4. In the main evolution window, select the mail, and apply filters by pressing "ctrl-y".

Currently, nothing happens, when the mail should be moved to the selected folder. *BUT* If i move the mail in the local ("On this computer") Inbox, select the mail (single-click on it), and apply filters (pressing "ctrl-y"), then the mail *does* get filtered and goes to the folder selected during the rule creation.

This issue is not fixed in evolution 3.3.90 from fedora 17 Alpha.
Comment 1 Milan Crha 2012-11-28 15:45:09 UTC
Thanks for a bug report. I'm moving this to evolution-ews, because it's the origin of the problem. It seems like the received message from an Exchange server is missing necessary headers to identify it as a List message.
Comment 2 Milan Crha 2012-11-28 16:38:46 UTC
Created attachment 230101 [details] [review]
ews patch

for evolution-ews;

The reason was that necessary field of a CamelMessageInfo structure was not filled, thus this patch populates it, but only for newly downloaded messages, to save a little bit of performance on already downloaded messages.
Comment 3 Milan Crha 2012-11-28 16:40:39 UTC
Created commit ea0a5a3 in ews master (3.7.3+)
Created commit c52e77e in ews gnome-3-6 (3.6.3+)