Commit Graph

6 Commits

Author SHA1 Message Date
1a355e7a9d Bug 655507 - Crash on startup when initializing spamassassin
I keep forgetting to not use G_PARAM_STATIC_STRINGS in modules...
2011-09-14 14:08:42 +02:00
b8c585480d SpamAssassin: Add a missing linker flag. 2011-09-14 14:08:37 +02:00
6cac45838b SpamAssassin: Silence spamd's debugging chatter. 2011-09-14 14:08:36 +02:00
6818166157 SpamAssassin: Try harder to kill spamd on exit.
References to EMailSession are leaking like crazy, so the module's
finalize() method never gets called, and we never kill our spamd.

Until I can track down all the reference leaks, kill the spamd process
in response to a "EShell::prepare-for-quit" signal instead of from the
module's finalize() method.  (Maybe that's a better long-term solution
anyway?)
2011-09-14 14:08:36 +02:00
2903d1cf57 SpamAssassin: Don't wait for termination when spawning spamd. 2011-09-14 14:08:36 +02:00
c238fbfd15 Convert junk filtering EPlugins to EExtensions.
We now have a proper junk mail filtering API.  All junk filtering
extensions must subclass EMailJunkFilter for user preferences and
availability testing, and implement the CamelJunkFilter interface
for the actual junk filtering and learning operations.

The bogofilter module should be feature-equivalent to its former
EPlugin.  The spamassassin module is far more complex.  It's nearly
feature-equivalent to its former EPlugin, but I ditched the spamd
respawning code since it seemed unnecessary for a mail client to
have to deal with.  If there's a huge outcry from users about it
I'll reluctantly put it back, but I don't expect one.

This gets us a step closer to killing off EConfig, and eventually
the EPlugin framework itself.
2011-09-14 14:08:36 +02:00