You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Matt Garretson <ma...@assembly.state.ny.us> on 2004/09/24 18:44:42 UTC
clear_headers does not remove X-Spam-Report
With SA 3.0, using clear_headers in local.cf does not prevent the
"X-Spam-Report:" header from being inserted into spam messages. Is this
a bug or a feature? Below is my local.cf.
### +++
required_score 8.0
clear_headers
report_safe 0
use_dcc 0
use_pyzor 0
use_razor2 0
dns_available yes
use_bayes 0
lock_method flock
fold_headers 0
envelope_sender_header Return-Path
use_auto_whitelist 0
### ---
Thanks,
-Matt
Re: clear_headers does not remove X-Spam-Report
Posted by Matt Kettler <mk...@evi-inc.com>.
At 12:44 PM 9/24/2004, Matt Garretson wrote:
>With SA 3.0, using clear_headers in local.cf does not prevent the
>"X-Spam-Report:" header from being inserted into spam messages. Is this
>a bug or a feature? Below is my local.cf.
>
>### +++
>required_score 8.0
>clear_headers
>report_safe 0
It's parsing order.
Note that you do the clear_headers first, then you do the report_safe 0,
which declares the X-Spam-Report header.
If you did clear headers *after* report_safe 0 you'd not get the Spam-Report.