Re: [exim] Little report for SpamAssassin

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Dennis Davis
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Little report for SpamAssassin
On Mon, 5 Sep 2005, Luca Bertoncello wrote:

> From: Luca Bertoncello <bertoncello@???>
> To: Exim-Users ML <exim-users@???>
> Date: Mon, 5 Sep 2005 11:28:48 +0200
> Subject: [exim] Little report for SpamAssassin
>
> I've configured Exim to save the spam report (from SpamAssassin)
> in a heder (X-Spam-Report). It works, but I'd like to reduce this
> report, and just have the rules and values, without the first
> lines of the E-Mail.
>
> Is ist possible?


I'm running SpamAssassin-3.04 and have the following as part of
/etc/mail/spamassassin/local.cf:


# The following should make SpamAssassin-2.60 and above reports look
# like SpamAssassin-2.55 reports.
# These lines were suggested by the message:
#
# Subject: Re: [Exim] ANNOUNCE: exiscan-acl-4.24-13
# From: "Adam D. Barratt" <exim-users@???>
# Reply-To: exim-users@???
# To: exim-users@???
# Message-Id: <1066940049.15657.35.camel@???>
# Date: Thu, 23 Oct 2003 21:14:10 +0100
#
#  DHD  January 2004
report_safe    0
clear_report_template
report _HITS_/_REQD_
report ---- Start SpamAssassin results _REPORT_
report ---- End SpamAssassin results



This produces spam reports of the form:


X-Spam-Report: 19.0/6.0
        ---- Start SpamAssassin results 
        *  3.0 DATE_IN_FUTURE_12_24 Date: is 12 to 24 hours after Received: date
        *  2.7 FORGED_YAHOO_RCVD 'From' yahoo.com does not match 'Received' headers
        *  2.5 SARE_OBFUSEXUAL BODY: masked spam word(s)
        *  1.7 SARE_HTML_URI_RM URI: text uri to unsubscribe link
        *  3.5 BAYES_99 BODY: Bayesian spam probability is 99 to 100%
        *      [score: 1.0000]
        *  2.2 DCC_CHECK Listed in DCC (http://rhyolite.com/anti-spam/dcc/)
        *  1.0 URIBL_SBL Contains an URL listed in the SBL blocklist
        *      [URIs: aspartames.net]
        *  2.5 URIBL_JP_SURBL Contains an URL listed in the JP SURBL blocklist
        *      [URIs: aspartames.net]
        ---- End SpamAssassin results
-- 
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
D.H.Davis@???               Phone: +44 1225 386101