On 2015-11-12 08:20, Bowie Bailey wrote:
On 11/12/2015 6:31 AM, Christian Jaeger wrote:
Hi

I'm seeing X-Spam-Status headers from some other installation come
with =$x appended to the individual matches, which evidently helps
figuring out why a mail is being classified the way it is. I've spent
more than an hour on googling and rtfm but couldn't figure it
out. Also, grep does not turn on any occurrence of 'Spam-Status' in
the source code, and I don't feel like reading all of the source code
for this right now. Please tell me how I can set this up.

Show us a sample of the header so we can see exactly what you are looking for.

I have this is in my user_prefs for the user that Exim connects to spamassassin as:

thebighonker.lerctr.org /usr/local/etc/mail/spamassassin $ sudo su - smmsp
Password:
$ cd .spamassassin/
$ ls
bayes_journal   bayes_seen      bayes_toks      user_prefs
$ more user_prefs
clear_report_template
report SpamScore (_SCORE_/_REQD_) _TESTSSCORES(,)_
$

and this gives:
X-Spam-Score: -106.9 (---------------------------------------------------) X-LERCTR-Spam-Score: -106.9 (---------------------------------------------------) X-Spam-Report: SpamScore (-106.9/5.0) BAYES_00=-1.9,RCVD_IN_DNSWL_NONE=-0.0001,RCVD_IN_HOSTKARMA_W=-5,SHORTCIRCUIT=-100 X-LERCTR-Spam-Report: SpamScore (-106.9/5.0) BAYES_00=-1.9,RCVD_IN_DNSWL_NONE=-0.0001,RCVD_IN_HOSTKARMA_W=-5,SHORTCIRCUIT=-100

from this Exim Rules:
warn  message = X-Spam-Score: $spam_score ($spam_bar)
        spam = smmsp:true
  warn  message = X-LERCTR-Spam-Score: $spam_score ($spam_bar)
        spam = smmsp:true
  warn  message = X-Spam-Report: $spam_report
        spam = smmsp:true
  warn  message = X-LERCTR-Spam-Report: $spam_report
        spam = smmsp:true
--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: l...@lerctr.org
US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961

Reply via email to