MCP Check not working
Mogens Melander
mogens at fumlersoft.dk
Thu Jun 21 14:10:47 IST 2007
On Thu, June 21, 2007 14:12, Glenn Steen wrote:
> On 21/06/07, Mogens Melander <mogens at fumlersoft.dk> wrote:
>>
>> On Thu, June 21, 2007 12:42, Glenn Steen wrote:
>> > On 21/06/07, Mogens Melander <mogens at fumlersoft.dk> wrote:
>> >> What other stuff need to be in mcp/v320.pre ?
>> >>
>> >> Mine only contain loadplugin Mail::SpamAssassin::Plugin::Check
>> >>
>> > That's it. Nothing more, nothing less.
>>
>> I must be missing something else, as my mail-headers still show
>> no MCP score.
>>
> If you run through the test I suggested to Daniel, does that work/have
> the expected result?
>
Yes, i did a:
/opt/MailScanner/bin/MailScanner --debug --debug-sa
In Debugging mode, not forking...
[25474] dbg: logger: adding facilities: all
[25474] dbg: logger: logging level is DBG
[25474] dbg: generic: SpamAssassin version 3.2.1
[25474] dbg: config: score set 0 chosen.
[25474] dbg: dns: no ipv6
[25474] dbg: dns: is Net::DNS::Resolver available? yes
[25474] dbg: dns: Net::DNS version: 0.59
Use of uninitialized value in concatenation (.) or string
at /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin.pm line 1087.
Use of uninitialized value in concatenation (.) or string
at /usr/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin.pm line 1089.
[25474] dbg: config: read_scoreonly_config: cannot open ""
: No such file or directory
(And then its just hanging there)
Arghh, and then i did a:
spamassassin -D -t -C /etc/MailScanner/mcp \
--siteconfigpath=/etc/MailScanner/mcp \
-p /etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf \
< testmcp.txt 2>&1 |less -e
I noticed that:
dbg: config: using "/root/.spamassassin" for user state dir
Which is wrong, and at the end i have: (no report template found)
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)
--
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