Re: [exim] sg and $spam_report

Etusivu
Poista viesti
Vastaa
Lähettäjä: Marc Perkel
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] sg and $spam_report
Mike Cardwell wrote:
> Marc, how did you get SpamAssassin to provide that information in the
> $spam_report? I've used ok_languages to trigger UNWANTED_LANGUAGE_BODY
> rules but that doesn't stick the detected language in the report...
>
>

It's kind ov convoluted but in the local.cf file I built my own report:

clear_report_template
report SpamAssassin _VERSION_ (_SUBVERSION_) on _HOSTNAME_
report Spam Tests:
report _REPORT_
report Languages: _LANGUAGES_

Then I parse the $spam_report string separating the real report from the
language string I added.