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 391901 - Poor junk filtering performance
Poor junk filtering performance
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Mailer
3.2.x (obsolete)
Other Linux
: Normal enhancement
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2007-01-02 14:39 UTC by Matthew Barnes
Modified: 2021-05-19 11:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthew Barnes 2007-01-02 14:39:03 UTC
Forwarding this from a downstream enhancement request:
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=198767

It seems like evolution is passing each newly downloaded mail message to spamd
before processing the next one.

It would be good if evolution downloaded all mail messages to a queue, which
were then passed to spamd one at a time.
Comment 1 Matthew Barnes 2008-03-11 00:32:52 UTC
Bumping version to a stable release.
Comment 2 André Klapper 2012-08-07 08:59:43 UTC
mbarnes: How to test if this is still an issue?
Comment 3 Matthew Barnes 2012-08-07 11:59:55 UTC
Here's the loop where we submit one message UID at a time and force camel_filter_driver_filter_message() to download the full message.  The second argument in the function call (NULL) is where the full message would otherwise be passed in.

http://git.gnome.org/browse/evolution-data-server/tree/camel/camel-folder.c#n356

Downloading all the messages up front would certainly make filtering progress seem to go faster once it finally starts, it would just take longer to start.

Additionally it might help to write all the messages out to a temporary mbox file and feed it to bogofilter or spamassassin to process in one go, instead of spawning the program for each message.  I think both programs can handle that.
Comment 4 André Klapper 2021-05-19 11:36:43 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. 
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines
and create a new enhancement request ticket at
  https://gitlab.gnome.org/GNOME/evolution/-/issues/

Thank you for your understanding and your help.