MCP Check not working

Glenn Steen glenn.steen at gmail.com
Thu Jun 21 15:20:29 IST 2007


On 21/06/07, Mogens Melander <mogens at fumlersoft.dk> wrote:
>
> On Thu, June 21, 2007 15:30, Glenn Steen wrote:
> > On 21/06/07, Mogens Melander <mogens at fumlersoft.dk> wrote:
> >>
> <cut>
>
> It looks OK, but, no MCP score, or rules report, in incomming mail.
>
> The missing part:
> ...
> ...
> (all good)
(snip)
This is the interesting part:
> [26203] dbg: check: running tests for priority: 0
> [26203] dbg: rules: running head tests; score so far=0
> [26203] dbg: rules: compiled head tests
> [26203] dbg: rules: ran header rule SAMPLE_RULE1
>         ======> got hit: "this subject is banned"
Hit sample rule number 1! Good.

> [26203] dbg: rules: running body tests; score so far=2
> [26203] dbg: rules: compiled body tests
> [26203] dbg: rules: ran body rule SAMPLE_RULE2
>         ======> got hit: "this text is banned"
> [26203] dbg: rules: running uri tests; score so far=7
Hit sample rule number 2! Good...

> [26203] dbg: rules: compiled uri tests
> [26203] dbg: rules: running rawbody tests; score so far=7
> [26203] dbg: rules: compiled rawbody tests
> [26203] dbg: rules: running full tests; score so far=7
> [26203] dbg: rules: compiled full tests
> [26203] dbg: rules: running meta tests; score so far=7
> [26203] dbg: rules: compiled meta tests
> [26203] dbg: check: is spam? score=7 required=5
> [26203] dbg: check: tests=SAMPLE_RULE1,SAMPLE_RULE2
Reporting the relevant hits... Good.
(snip)

What perhaps isn't that goiod is that these are the only rules found
and tested... Where did you put your specific ones? They should be in
a .cf file in /etc/MailScanner/mcp, and nowhere else.

> >
> > Also, look for any syntax errors (or similar) pertaining to your
> > particular rules.
>
> I thing that might be the problem. No rules loaded, or something like that.
>
Likely never finds them, or rejects the file (but that is unlikely...
I only see the 10_sample.cf file being read... and the prefs file...).

Cheers
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list