SpamAssassin Content Analysis in headers

Brad Beckenhauer bbecken at aafp.org
Thu Dec 24 17:13:21 GMT 2009


I'd like to get the format of the SpamAssassin results in the message 
headers looks like format used at:
http://spamassassin.apache.org/full/2.6x/dist/rules/10_misc.cf

So far I've tried including the SpamAssassin report section in my 
local.cf, but I've not been successful in getting the report re-formatted.
Has anyone else been successful in re-formatting the report?

Using Postfix + MS 4.78.17 + Julians ClamAV+Spamassasin installer.
thanks
Brad

Sample:
Content analysis details:   (15.3 points, 7.0 required)

pts  rule name               description
---- ----------------------  --------------------------------------
-1.7 ALL_TRUSTED            Passed through trusted hosts only via SMTP
  3.5 BAYES_99               BODY: Bayesian spam probability is 99 to 
100%                              [score: 1.0000]
0.0 MISSING_MID            Missing Message-Id: header
1.9 FORGED_YAHOO_RCVD      'From' yahoo.com does not match 'Received' 
headers
1.5 MISSING_HEADERS        Missing To: header


Instead of:
X-SpamCheck: spam, SpamAssassin (not cached, score=14.334,
	required 6, autolearn=disabled, BAYES_50 0.00,
	FORGED_MUA_OUTLOOK 3.12, FORGED_YAHOO_RCVD 2.30,
	L_SOME_STD_PROBS 0.30, RAZOR2_CF_RANGE_51_100 0.50,
	RAZOR2_CF_RANGE_E4_51_100 1.50, RAZOR2_CHECK 0.50,
	RCVD_IN_BL_SPAMCOP_NET 1.96, SARE_CHARSET_W1251 1.66,
	SCAMNAILER 0.10, SUBJ_ALL_CAPS 2.08, TW_XQ 0.08)



More information about the MailScanner mailing list