You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Roel Bindels <Ro...@protomation.com> on 2004/11/01 08:43:20 UTC

less header information

Dear Listers,

I just want the X-spam-flag to be present in the header but not the report.
what am I doing wrong.
See my local.cf below

greetings Roel Bindels

rewrite_subject 0
report_safe 0
report_header  0
use_terse_report
required_hits           5.0
use_bayes               1
auto_learn              1
skip_rbl_checks         0
use_razor2              1
use_dcc                 1
use_pyzor               1
ok_languages            all
ok_locales              all


Re: less header information

Posted by Bill Landry <bi...@pointshare.com>.
----- Original Message ----- 
From: "Roel Bindels" <Ro...@protomation.com>

> I just want the X-spam-flag to be present in the header but not the
report.
> what am I doing wrong.
> See my local.cf below
>
> greetings Roel Bindels
>
> rewrite_subject 0
> report_safe 0
> report_header  0
> use_terse_report
> required_hits           5.0
> use_bayes               1
> auto_learn              1
> skip_rbl_checks         0
> use_razor2              1
> use_dcc                 1
> use_pyzor               1
> ok_languages            all
> ok_locales              all

Try adding "remove_header" after the "report_safe 0" entry.  See
(http://spamassassin.apache.org/full/3.0.x/dist/doc/Mail_SpamAssassin_Conf.h
tml#basic_message_tagging_options):
=====
report_safe { 0 | 1 | 2 } (default: 1)
[...]
If this option is set to 0, incoming spam is only modified by adding some
X-Spam- headers and no changes will be made to the body. In addition, a
header named X-Spam-Report will be added to spam. You can use the
remove_header option to remove that header after setting report_safe to 0
=====

Bill