aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/client/rspamc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c
index 8b21f6d8d..448bd0795 100644
--- a/src/client/rspamc.c
+++ b/src/client/rspamc.c
@@ -45,7 +45,7 @@ static gchar **rcpts = NULL;
static gchar *user = NULL;
static gchar *helo = "rspamc.local";
static gchar *hostname = "localhost";
-static gchar *classifier = "bayes";
+static gchar *classifier = NULL;
static gchar *local_addr = NULL;
static gchar *execute = NULL;
static gchar *sort = NULL;
@@ -434,6 +434,9 @@ add_options (GQueue *opts)
if (pass_all) {
ADD_CLIENT_HEADER (opts, "Pass", "all");
}
+ if (classifier) {
+ ADD_CLIENT_HEADER (opts, "Classifier", classifier);
+ }
if (weight != 0) {
numbuf = g_string_sized_new (8);
rspamd_printf_gstring (numbuf, "%d", weight);