From 94cc53a7057dec2a655102268772b73efe32384e Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Thu, 25 Nov 2004 10:50:47 +0000 Subject: when starting new spamd, call it with --socketpath parameter to use unix 2004-10-12 Radek Doulik * 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 --- mail/mail-session.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/mail-session.c') 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); -- cgit