Index: em-junk-hook.c
===================================================================
--- em-junk-hook.c	(revision 34019)
+++ em-junk-hook.c	(working copy)
@@ -61,10 +61,15 @@ static const EPluginHookTargetKey emjh_f
   </hook>
 
 */
+static const char *
+em_junk_get_name (CamelJunkPlugin *csp);
 
 static void 
 em_junk_init(CamelJunkPlugin *csp)
 {
+	struct _EMJunkHookItem *item = (EMJunkHookItem *)csp;
+	
+	((EPluginClass *)G_OBJECT_GET_CLASS(item->hook->hook.plugin))->enable(item->hook->hook.plugin, 1);
 }
 
 static const char *
Index: mail-session.c
===================================================================
--- mail-session.c	(revision 34019)
+++ mail-session.c	(working copy)
@@ -737,6 +737,7 @@ mail_session_add_junk_plugin (const char
 		if (!strcmp(def_plugin, plugin_name)) {
 			printf("Loading %s as the default junk plugin\n", def_plugin);
 			session->junk_plugin = junk_plugin;
+			camel_junk_plugin_init (junk_plugin);
 		}
 	}
 
