Re: SA-Exim vs. ExiScan - at an initial glance

Chris Edwards <[email protected]>
Newsgroups gmane.mail.exim.user,gmane.mail.exim.spamassassin
Message-ID <[email protected]>
On Wed, 26 Nov 2003, Tor Slettnes wrote:

|   o Preservation of SA's headers, such as 'X-Spam-Status'; useful to
|     keep in EXIM's "rejectlog".  (ExiScan provides $spam_report, which
|     can be added in a header, but there seems to be no way to get the
|     "short" spam analysis (SA's _TESTS_ macro) logged using ExiScan).

We use exiscan and write $spam_report into the headers:

  warn	message = X-GLA-Spam-Score:  $spam_score ($spam_bar)\n\
  		  X-GLA-Spam-Report: $spam_report

SA's report is far too verbose by default, so our SA local.cf has:

  clear_report_template
  report _SUMMARY_

The result looks like:

X-GLA-Spam-Report:
        0.7 HTML_50_60             BODY: Message is 50% to 60% HTML
        0.3 DATE_IN_PAST_03_06     Date: is 3 to 6 hours before Received: date
        0.1 CLICK_BELOW            Asks you to click below

which finds its way into the rejectlog if the mail is rejected.  If you
want e.g. SA's _TESTS_ macro then use "report _TESTS_" instead.

--
Chris Edwards, Glasgow University Computing Service

--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.