evolution ships with spam filtering completely mangled

Bug #62192 reported by Robert Persson
18
Affects Status Importance Assigned to Milestone
evolution (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: evolution

This bug is related to, but not identical to, #37878. It is more like a number of bugs, but I am finding it very hard to distinguish one from another.

1. I installed dapper and spam filtering did not work.

2. I found that bogofilter wasn't installed, even though I had understood that evolution shipped with bogofilter enabled. So I installed it. Then I made sure bogofilter was enabled and spamassassin disabled in edit->plugins. It still didn't work.

3. I started evolution from the command line and found the messages less than clear (another bug I think), but what I did get was something like this:

robert@mr-rusty:~$ evolution
CalDAV Eplugin starting up ...

(evolution-2.6:5162): evolution-mail-WARNING **: ignored this junk plugin: not enabled or we have already loaded one

(evolution-2.6:5162): e-utils-WARNING **: Plugin 'Spamassassin junk plugin' failed to load hook 'org.gnome.evolution.mail.junk:1.0'

Which plugin is being ignored? It's not at all clear, but obviously something isn't working. But shouldn't a user-friendly application show a warning message in the GUI instead of waiting for you to launch it from the command line in order to show you a few half-baked messages? If you are used to how Thunderbird behaves you could take a very long time to realise that the spam filter wasn't actually active or learning anything.

4. I found on the web a bug report for evolution saying that you needed, at some point in evolution's evolution, to have spamassassin installed in order for evolution to ignore it properly and use bogofilter. So I tried installing spamassassin and all its dependencies, but it made no difference. Evolution froze, got killed and restarted, then froze again, this time quickly followed by X (running the nvidia propietary legacy driver) and/or the kernel, which forced me to hit the reset button before I could make a note of where that old gnome bug report was located. I've no idea whether the system freeze was in any way connected, but the two evolution freezes did appear to be related to me having just installed spamassassin, even though spamassassin was at the time, as I have already said, disabled in edit->plugins.

5. For all I know, bogofilter could actually be working now after all my fiddling about, but I have no way of telling for sure without waiting quite a long time.

Revision history for this message
Robert Persson (ireneshusband) wrote :

Please could you mark this as urgent. My spam levels are now getting unmanageable. In other words this bug is a blocker as far as evolution is concerned.

At the very least could we have some ad hoc documentation on how to get spam filtering of some sort working in evolution? At this point I no longer care whether I'm using the best filtering engine or not. Anything's better than what I've got now.

Revision history for this message
Alex Fraser (alex-phatcore) wrote :

I was getting a similar error:

---
(evolution-2.8:18041): evolution-mail-WARNING **: ignored this junk plugin: not enabled or we have already loaded one

(evolution-2.8:18041): e-utils-WARNING **: Plugin 'Bogofilter junk plugin' failed to load hook 'org.gnome.evolution.mail.junk:1.0'
---

I think the spam plugins conflict with each other, so having both enabled doesn't work (even if you don't have spamassassin installed). To fix it, disable the spamassassin plugin. So the steps are:

1. Install bogofilter.
2. Disable the spamassassin plugin in Evolution / Edit / Plugins.
3. Restart Evolution.
4. Mark some messages as Junk (this initialises the bogofilter database).
5(?) You may need to mark one message as NOT junk before it works. I'm not sure about this.

Once the database ($HOME/.bogofilter/wordlist.db) has been created, you should be able to confirm that it works by running `bogofilter` from the command line. If it sits waiting for input, it's working.

I agree that the feedback from Evolution is poor. If spam filtering is broken, it should at least pop up an error when clicking on the Mark As Junk button. Otherwise the user will think that it has worked, and won't understand why their messages aren't being filtered. Ideally it could offer to download install bogofilter.

Revision history for this message
Alex Fraser (alex-phatcore) wrote :

I should also mention that I still get plugin errors when starting Evolution, but now they refer to spamassassin instead (even though the spamassassin plugin is disabled):

(evolution-2.8:18710): evolution-mail-WARNING **: ignored this junk plugin: not enabled or we have already loaded one

(evolution-2.8:18710): e-utils-WARNING **: Plugin 'Spamassassin junk plugin' failed to load hook 'org.gnome.evolution.mail.junk:1.0'

Revision history for this message
Jim Braux-Zin (j-brauxzin) wrote :

I can confirm this bug. I had to disable the spamassassin plugin and install bogofilter to make the junk filtering functionnal.

These actions are not logical for a new user and no message tell him an error occured!

I can't understand how this problem isn't solved yet, as there have been problems with junk filtering for a few versions now!

Revision history for this message
Robert Persson (ireneshusband) wrote :

I've tried following the suggestions given here, but they don't work for me. I probably won't try anything else because I will be switching to a different MUA in the next couple of days.

Revision history for this message
Sebastien Bacher (seb128) wrote : Re: [Bug 62192] Re: evolution ships with spam filtering completely mangled

Le mardi 10 octobre 2006 à 16:05 +0000, Robert Persson a écrit :

> me. I probably won't try anything else because I will be switching to a
> different MUA in the next couple of days.

open source is about choice, up to you to use whatever you want, that is
not really a constructive comment to add on the bug though

Revision history for this message
Alexander Oltu (sazs) wrote :

Same for me.
Was trying to use bogofilter as junk filtering plugin. It was not working until Ive disabled Spamassassin plugin.
Now Junk filtering works via bogofilter just fine.

Revision history for this message
Peter Whittaker (pwwnow) wrote :

Is this not a duplicate of https://launchpad.net/distros/ubuntu/+source/evolution/+bug/9870 ?

I'm reluctant to mark 62192 as a dupe, as others may feel they are separate problems, but from reading 9870, it seems to me that spam filtering has been mangled in Evolution for years, this isn't something new.

For example, https://launchpad.net/distros/ubuntu/+source/evolution/+bug/48872 also concerns mangling.

To me, these seem to be symptons of the same underlying problem: Evolution's spam filter doesn't work out of the box, cannot be trained without counter-intuitive actions (mark as spam, then ham), and does not cooperate with user addins (which shouldn't be necessary, IMHO).

On that last note, https://launchpad.net/distros/ubuntu/+source/evolution/+bug/37878 seems to come from this same underlying problem.

Would the problem get more or less attention and TLC if these bugs were all marked dupe of a 2+ year old high importance confirmed bug?

Revision history for this message
jasse (juhani-tamminen) wrote :

This thread on the forums has a thing or two to say about this problem http://ubuntuforums.org/showthread.php?t=99603
For me just simply installing spamd pretty much did the trick. Or at least Evolution now claims to be "learning junk" when I go and mark messages as junk. I still get the warning about bogofilter on Evolution startup, but it seems to have no effect on anything. And I don't have bogofilter installed by the way.

John Cudd (john-cudd)
Changed in evolution:
status: New → Confirmed
Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

I'd like to close this bug report since there seem to be several if not many different issues here, some of which are now solved or will not appear on standard installations. If specific bugs persist, opening new and precise reports are the only way to get them solved. The mess around Evolution junk filtering bug reports has become a problem because we don't know what works and what is buggy now!

New situation in Hardy:
- Bogofilter is installed by default and is used as junk plugin
- spamassassin is available as a plugin but not installed as a package, which is not an issue since Evolution tells you when you want to change the default junk plugin that binaries are missing

Please confirm it is closed, so I can mark the bug as Fix released. Thanks!

Revision history for this message
Sebastien Bacher (seb128) wrote :

the hardy version has a working bogofilter spam filtering, closing the bug

Changed in evolution:
importance: Undecided → Low
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.