RE: Adding 'SA scores' to all incoming mails

2006-08-24 Thread Michael Grey
Check the docs for 'add_header' in local.cf or user_prefs.
The key words here are 'add_header all ' then the text  and variables you
want to have displayed; the Rule Scoring is another 'variable' that can be
sourced.

In this example, all emails get an additional header :

X-Spam-score-breakdown calvin score 6.77/4.5  

add_header all score-breakdown calvin score _HITS_/_REQD_ 

Good luck...

Michael Grey


-Original Message-
From: John D. Hardin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 24, 2006 2:32 PM
To: list
Cc: users@spamassassin.apache.org
Subject: Re: Adding 'SA scores' to all incoming mails

On Thu, 24 Aug 2006, list wrote:

 I'd like SA to make a extra line/section under all my mails where it 
 tells what score the mail got (or maybe even which rules scored on the 
 mail)  is there such a setting?
 
 it would help me to finetune my SA.

You mean, actually paste the score into the body or attach it as
another MIME body part?

Are the X-Spam-* headers not sufficient?

--
 John Hardin KA7OHZICQ#15735746http://www.impsec.org/~jhardin/
 [EMAIL PROTECTED]FALaholic #11174pgpk -a [EMAIL PROTECTED]
 key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
---
  Taking my gun away because I *might* shoot someone is like cutting
  my tongue out because I *might* yell Fire! in a crowded theater.
  -- Peter Venetoklis
---
 26 days until Talk Like a Pirate day



Re: Adding 'SA scores' to all incoming mails

2006-08-24 Thread John D. Hardin
On Thu, 24 Aug 2006, list wrote:

 I'd like SA to make a extra line/section under all my mails where it 
 tells what score the mail got (or maybe even which rules scored on the 
 mail)  is there such a setting?
 
 it would help me to finetune my SA.

You mean, actually paste the score into the body or attach it as
another MIME body part?

Are the X-Spam-* headers not sufficient?

--
 John Hardin KA7OHZICQ#15735746http://www.impsec.org/~jhardin/
 [EMAIL PROTECTED]FALaholic #11174pgpk -a [EMAIL PROTECTED]
 key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
---
  Taking my gun away because I *might* shoot someone is like cutting
  my tongue out because I *might* yell Fire! in a crowded theater.
  -- Peter Venetoklis
---
 26 days until Talk Like a Pirate day



RE: Adding 'SA scores' to all incoming mails

2006-08-24 Thread John D. Hardin
On Thu, 24 Aug 2006, Michael Grey wrote:

 In this example, all emails get an additional header :
 
 X-Spam-score-breakdown calvin score 6.77/4.5  
 
 add_header all score-breakdown calvin score _HITS_/_REQD_ 

And that's better than this:

X-Spam-Status: No, score=3.5 required=5.0 tests=BAYES_50,FROM_EXCESS_QP,
FROM_SUBDOMAIN,HTML_COMMENTS,HTML_EMBED_IMG_04,HTML_MESSAGE,
HTML_MIME_NO_HTML_TAG,MIME_HTML_ONLY,SARE_UNSUB38D,SPF_PASS,
SUBJECT_EXCESS_QP autolearn=disabled version=3.1.3

how?

I'm not saying it shouldn't be done, but that the scores and rule hits
are *already there* so why paste them in yet again?

 On Thu, 24 Aug 2006, list wrote:
 
  I'd like SA to make a extra line/section under all my mails where it 
  tells what score the mail got (or maybe even which rules scored on the 
  mail)  is there such a setting?
  
  it would help me to finetune my SA.
 
 You mean, actually paste the score into the body or attach it as
 another MIME body part?
 
 Are the X-Spam-* headers not sufficient?

--
 John Hardin KA7OHZICQ#15735746http://www.impsec.org/~jhardin/
 [EMAIL PROTECTED]FALaholic #11174pgpk -a [EMAIL PROTECTED]
 key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
---
  Taking my gun away because I *might* shoot someone is like cutting
  my tongue out because I *might* yell Fire! in a crowded theater.
  -- Peter Venetoklis
---
 26 days until Talk Like a Pirate day



RE: Adding 'SA scores' to all incoming mails

2006-08-24 Thread Michael Grey

Why is it 'better' ? I didn't say it was... 

Simply one of the possible approaches to getting the full headers.

Michael Grey


-Original Message-
From: John D. Hardin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 24, 2006 3:14 PM
To: Michael Grey
Cc: users@spamassassin.apache.org
Subject: RE: Adding 'SA scores' to all incoming mails

On Thu, 24 Aug 2006, Michael Grey wrote:

 In this example, all emails get an additional header :
 
 X-Spam-score-breakdown calvin score 6.77/4.5  
 
 add_header all score-breakdown calvin score _HITS_/_REQD_ 

And that's better than this:

X-Spam-Status: No, score=3.5 required=5.0 tests=BAYES_50,FROM_EXCESS_QP,
FROM_SUBDOMAIN,HTML_COMMENTS,HTML_EMBED_IMG_04,HTML_MESSAGE,
HTML_MIME_NO_HTML_TAG,MIME_HTML_ONLY,SARE_UNSUB38D,SPF_PASS,
SUBJECT_EXCESS_QP autolearn=disabled version=3.1.3

how?

I'm not saying it shouldn't be done, but that the scores and rule hits
are *already there* so why paste them in yet again?

 On Thu, 24 Aug 2006, list wrote:
 
  I'd like SA to make a extra line/section under all my mails where it 
  tells what score the mail got (or maybe even which rules scored on the 
  mail)  is there such a setting?
  
  it would help me to finetune my SA.
 
 You mean, actually paste the score into the body or attach it as
 another MIME body part?
 
 Are the X-Spam-* headers not sufficient?

--
 John Hardin KA7OHZICQ#15735746http://www.impsec.org/~jhardin/
 [EMAIL PROTECTED]FALaholic #11174pgpk -a [EMAIL PROTECTED]
 key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
---
  Taking my gun away because I *might* shoot someone is like cutting
  my tongue out because I *might* yell Fire! in a crowded theater.
  -- Peter Venetoklis
---
 26 days until Talk Like a Pirate day