MCP Check not working

Mogens Melander mogens at fumlersoft.dk
Thu Jun 21 14:48:27 IST 2007


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)
[26203] dbg: dns: no ipv6
[26203] dbg: dns: is Net::DNS::Resolver available? yes
[26203] dbg: dns: Net::DNS version: 0.59
[26203] dbg: config: using "/etc/MailScanner/mcp" for site rules pre files
[26203] dbg: config: read file /etc/MailScanner/mcp/v320.pre
[26203] dbg: config: using "/etc/MailScanner/mcp" for sys rules pre files
[26203] dbg: config: read file /etc/MailScanner/mcp/v320.pre
[26203] dbg: config: using "/etc/MailScanner/mcp" for default rules dir
[26203] dbg: config: read file /etc/MailScanner/mcp/10_example.cf
[26203] dbg: config: using "/etc/MailScanner/mcp" for site rules dir
[26203] dbg: config: read file /etc/MailScanner/mcp/10_example.cf
[26203] dbg: config: using "/root/.spamassassin" for user state dir
[26203] dbg: config: using
        "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf"
        for user prefs file
[26203] dbg: config: read file
        /etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf
[26203] dbg: plugin: loading Mail::SpamAssassin::Plugin::Check from @INC
[26203] dbg: plugin: loading Mail::SpamAssassin::Plugin::Check from @INC
[26203] dbg: plugin: did not register
        Mail::SpamAssassin::Plugin::Check=HASH(0x871feb4),
        already registered
[26203] dbg: conf: finish parsing
[26203] dbg: config: score set 1 chosen.
[26203] dbg: message: main message type: text/plain
[26203] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0x8c53098)
        implements 'check_main', priority 0
[26203] dbg: conf: trusted_networks are not configured;
        it is recommended that you configure trusted_networks manually
[26203] dbg: metadata: X-Spam-Relays-Trusted:
[26203] dbg: metadata: X-Spam-Relays-Untrusted:
[26203] dbg: metadata: X-Spam-Relays-Internal:
[26203] dbg: metadata: X-Spam-Relays-External:
[26203] dbg: message: ---- MIME PARSER START ----
[26203] dbg: message: parsing normal part
[26203] dbg: message: ---- MIME PARSER END ----
[26203] dbg: message: no encoding detected
[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"
[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
[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
[26203] dbg: check: subtests=

>> dbg: check: subtests=
>> Received: from localhost by styx.fumlersoft.dk
>>         with SpamAssassin (version 3.2.1);
>>         Thu, 21 Jun 2007 14:57:50 +0200
>> Subject: this subject is banned
>> X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on
>> styx.fumlersoft.dk
>> MIME-Version: 1.0
>> Content-Type: multipart/mixed; boundary="----------=_467A75CE.9FD16FEF"
>>
>> This is a multi-part message in MIME format.
>>
>> ------------=_467A75CE.9FD16FEF
>> Content-Type: text/plain; charset=iso-8859-1
>> Content-Disposition: inline
>> Content-Transfer-Encoding: 8bit
>>
>> (no report template found)
>>
>> ------------=_467A75CE.9FD16FEF
>> Content-Type: message/rfc822; x-spam-type=original
>> Content-Description: original message before SpamAssassin
>> Content-Disposition: inline
>> Content-Transfer-Encoding: 8bit
>>
>> Subject: this subject is banned
>> this text is banned
>>
>> ------------=_467A75CE.9FD16FEF--
>>
>> (no report template found)
>>
>
> All well and good, but the relevant thing isn't whether it finds the
> report templates, but rather if the expected rules fire or not (and
> the accumulated score)... Which should be just above the snippet you
> quote here.
>
> 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.

-- 
Later

Mogens Melander
+45 40 85 71 38
+66 870 133 224



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list