aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/sa-junk-plugin/ChangeLog7
-rw-r--r--plugins/sa-junk-plugin/em-junk-filter.c6
2 files changed, 11 insertions, 2 deletions
diff --git a/plugins/sa-junk-plugin/ChangeLog b/plugins/sa-junk-plugin/ChangeLog
index cb32b8cbdd..f1d8bfb1f9 100644
--- a/plugins/sa-junk-plugin/ChangeLog
+++ b/plugins/sa-junk-plugin/ChangeLog
@@ -1,3 +1,10 @@
+2005-10-06 Vivek Jain <jvivek@novell.com>
+
+ ** See Bug #268852
+ * em-junk-filter.c : (em_junk_sa_run_spamd)
+ allow max one chid to be spawned for
+ spamd.
+
2005-10-03 Vivek Jain <jvivek@novell.com>
* em-junk-filter.c: added (e_plugin_lib_enable)
diff --git a/plugins/sa-junk-plugin/em-junk-filter.c b/plugins/sa-junk-plugin/em-junk-filter.c
index 0e7b29469f..431b0b3a12 100644
--- a/plugins/sa-junk-plugin/em-junk-filter.c
+++ b/plugins/sa-junk-plugin/em-junk-filter.c
@@ -311,8 +311,10 @@ em_junk_sa_run_spamd (char *binary)
if (em_junk_sa_local_only)
argv[i++] = "--local";
-
- //argv[i++] = "--daemonize";
+
+ /* See bug #268852*/
+ argv[i++] = "--max-children=1";
+ /*argv[i++] = "--daemonize";*/
argv[i++] = "--pidfile";
argv[i++] = em_junk_sa_spamd_pidfile;
argv[i] = NULL;