Re: [exim] exiscan-acl, $spam_report

Pàgina inicial
Delete this message
Reply to this message
Autor: Stanislaw Halik
Data:  
A: exim-users
Assumpte: Re: [exim] exiscan-acl, $spam_report
On Wed, Apr 05, 2006, Magnus Holmgren wrote:
>> is there a way to only fetch the rule scoring part or is matching it by
>> a regexp the only method?


> The content of $spam_report is essentially the output from spamc -R (minus the
> first line containing the score/needed_points, which is used for the other
> $spam_ variables, and indented for putting in the headers). I have
> experimented with the following in local.cf:


> clear_report_template
> report X-Spam-Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_) on
> _HOSTNAME_
> report X-Spam-Status: _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_
> autolearn=_AUTOLEARN_ version=_VERSION_
> report X-Spam-Report: _REPORT_


thanks, a simple:

clear_report_template
report score=_SCORE_ required=_REQD_ tests=_TESTS_

should work for me.

-- sh