Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: users

X_Report_Header

 

 

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded


ddjones at riddlemaster

Nov 29, 2009, 11:15 AM

Post #1 of 2 (307 views)
Permalink
X_Report_Header

Running 3.2.5 under Debian Etch.

I'm trying to add the Spamassassin X_Report_Header. Per the website at

http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html

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.


I have the option set to 0 in /etc/spamassassin/local.cf and the remove_header
option is not configured in any of the files in that directory. I'm getting
the X-Spam-Score, X-Spam_score_int, X-Spam_bar, etc headers but I am not
getting the Report header. I've been unable to find anything on the web as to
why this might be. And assistance appreciated.


mkettler_sa at verizon

Nov 29, 2009, 12:58 PM

Post #2 of 2 (285 views)
Permalink
Re: X_Report_Header [In reply to]

Daniel D Jones wrote:
> Running 3.2.5 under Debian Etch.
>
> I'm trying to add the Spamassassin X_Report_Header. Per the website at
>
> http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html
>
> 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.
>
>
> I have the option set to 0 in /etc/spamassassin/local.cf and the remove_header
> option is not configured in any of the files in that directory. I'm getting
> the X-Spam-Score, X-Spam_score_int, X-Spam_bar, etc headers but I am not
> getting the Report header. I've been unable to find anything on the web as to
> why this might be. And assistance appreciated.
>
>
That sounds like your headers are not being generated by SpamAssassin...
SpamAssassin cannot generate headers starting with X-Spam_. They have to
start with X-Spam- (note dash instead of underscore).

What happens when you run a message through SA on the command-line? ie:
spamassassin < testmsg.txt

Are you using something like this exim integration:
http://www.debianhelp.org/node/10614

In which case, you'll have to edit that exim script, because SA isn't
generating headers in that kind of setup.

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.