insert X-Bogosity header like the option says, not X-Claws-Bogosity header
authorPaul <paul@claws-mail.org>
Tue, 6 Aug 2013 06:22:12 +0000 (07:22 +0100)
committerPaul <paul@claws-mail.org>
Tue, 6 Aug 2013 06:22:12 +0000 (07:22 +0100)
src/plugins/bogofilter/bogofilter.c

index 6100100..f07ab84 100644 (file)
@@ -290,7 +290,7 @@ static void bogofilter_do_filter(BogoFilterData *data)
                                                        const gchar *bogosity = *parts[1] == 'S' ? "Spam":
                                                                                 (*parts[1] == 'H' ? "Ham":"Unsure");
                                                        gchar *tmpstr = g_strdup_printf(
-                                                                       "X-Claws-Bogosity: %s, spamicity=%s%s\n",
+                                                                       "X-Bogosity: %s, spamicity=%s%s\n",
                                                                        bogosity, parts[2],
                                                                        whitelisted?" [whitelisted]":"");
                                                        if (fwrite(tmpstr, 1, strlen(tmpstr), output) < strlen(tmpstr)) {