diff options
author | Radek Doulik <rodo@ximian.com> | 2004-11-25 18:50:47 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2004-11-25 18:50:47 +0800 |
commit | 94cc53a7057dec2a655102268772b73efe32384e (patch) | |
tree | 61f0813151e9bb8bee4d48c60db363faf00e3650 /mail/mail-session.c | |
parent | 80e3070de9d43d2ad4fe7f856dfc159a96907538 (diff) | |
download | gsoc2013-evolution-94cc53a7057dec2a655102268772b73efe32384e.tar.gz gsoc2013-evolution-94cc53a7057dec2a655102268772b73efe32384e.tar.zst gsoc2013-evolution-94cc53a7057dec2a655102268772b73efe32384e.zip |
when starting new spamd, call it with --socketpath parameter to use unix
2004-10-12 Radek Doulik <rodo@ximian.com>
* em-junk-filter.c: when starting new spamd, call it with
--socketpath parameter to use unix sockets instead of opening TCP
port. kill such started daemon in finalize callback which is
installed by atexit. also try to respawn spamd in case spamc
returns error, if respawning is too fast (8 restarts in last 5
minutes) fallback to spamassassin
* mail-component.c (impl_quit): call mail_session_quit
* mail-session.c (mail_session_init): call junk plugin init
(mail_session_quit): new method, called on evo exit
svn path=/trunk/; revision=27990
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r-- | mail/mail-session.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c index 3109c47c30..c88c5e8d1b 100644 --- a/mail/mail-session.c +++ b/mail/mail-session.c @@ -641,6 +641,8 @@ mail_session_init (const char *base_directory) (GConfClientNotifyFunc) mail_session_check_junk_notify, session, NULL, NULL); session->junk_plugin = CAMEL_JUNK_PLUGIN (em_junk_filter_get_plugin ()); + if (session->junk_plugin) + camel_junk_plugin_init (session->junk_plugin); /* The shell will tell us to go online. */ camel_session_set_online ((CamelSession *) session, FALSE); |