bogofilter 0.11.1.3: spam_subject_tag is always stamped in (regardless of actual spamicity)
Christian Wittenhorst
wiwi at progon.net
Mon Mar 24 17:20:51 CET 2003
Hello!
Is this intentional, or maybe a bug? Or am I missing something?
It is quite easy to fix, however checking in this slight change will
increase convenience, especially when newer version will arrive...
diff:
odin# diff bogofilter-0.11.1.3/src/main.c ../main.c
60c60
< static void write_message(FILE *fp);
---
> static void write_message(FILE *fp, rc_t status);
127c127
< write_message(out);
---
> write_message(out, status);
207c207
< static void write_message(FILE *fp)
---
> static void write_message(FILE *fp, rc_t status)
252c252,257
< (void) fprintf(fp, "Subject: %s", spam_subject_tag);
---
>
> if (status==RC_SPAM) {
> (void) fprintf(fp, "Subject: %s", spam_subject_tag);
> } else {
> (void) fprintf(fp, "Subject:");
> }
Best regards,
wiwi
--
c. wittenhorst, progon network engineering
haldenstrasse 6, ch-6300 zug, switzerland
phone: +41 79 4603040, fax: +41 41 7807318
More information about the bogofilter-dev
mailing list