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 672916 - Spam is not detected automatically
Spam is not detected automatically
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.4.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2012-03-27 13:48 UTC by Guillaume Ayoub
Modified: 2012-04-02 12:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo.patch (1.50 KB, patch)
2012-04-02 10:05 UTC, Milan Crha
committed Details | Review

Description Guillaume Ayoub 2012-03-27 13:48:26 UTC
Since 3.3.x versions, Bogofilter does not detect spams for new mails or when I click on "Message" → "Check for junk". Marking them manually as spams puts them in the "Junk" folder, as expected.

Everything in the application and account settings seem to be OK, the 3.2.x versions were working perfectly.

I'm using Gentoo, but the Fedora guys meet the same problem:
http://lists.fedoraproject.org/pipermail/devel/2012-March/164239.html
Comment 1 André Klapper 2012-03-27 17:13:21 UTC
Milan's posting at http://lists.fedoraproject.org/pipermail/devel/2012-March/164619.html might also be interesting.
Comment 2 Guillaume Ayoub 2012-03-28 08:45:24 UTC
(In reply to comment #1)
> Milan's posting at
> http://lists.fedoraproject.org/pipermail/devel/2012-March/164619.html might
> also be interesting.

For information, "dconf read /org/gnome/evolution/mail/junk-default-plugin" gives me "Bogofilter".
Comment 3 Milan Crha 2012-04-02 10:05:09 UTC
Created attachment 211121 [details] [review]
evo.patch

for evolution;

I think I got the reason here, the read of the value whether check for junk or not is overwritten by GObject creation process. I'm currently building a test package for evolution and when I'll have this tested, then I'll update this bug report. If you can test this on Gentoo too then it'll be helpful.

My test build is here:
http://koji.fedoraproject.org/koji/taskinfo?taskID=3956023
Comment 4 Milan Crha 2012-04-02 10:38:05 UTC
The patch works for me, thus I'm committing it into the sources. Please let me know if you find any issue with it. Thanks in advance.
Comment 5 Milan Crha 2012-04-02 10:42:52 UTC
Created commit 4e2f353 in evo master (3.5.1+)
Created commit 1436abc in evo gnome-3-4 (3.4.1+)
Comment 6 Matthew Barnes 2012-04-02 11:39:52 UTC
Looks right to me.  Thanks for spotting that.
Comment 7 Guillaume Ayoub 2012-04-02 12:04:37 UTC
It works perfectly on Gentoo, thanks a lot.