AW: MCP Check not working

Daniel Fuhrer daniel at danielf.ch
Wed Jun 20 07:03:53 IST 2007


Hi Glenn
Ok her is he output.

[60272] dbg: logger: adding facilities: all
[60272] dbg: logger: logging level is DBG
[60272] dbg: generic: SpamAssassin version 3.2.0
[60272] dbg: config: score set 0 chosen.
[60272] dbg: util: running in taint mode? yes
[60272] dbg: util: taint mode: deleting unsafe environment variables, resetting PATH
[60272] dbg: util: PATH included '/sbin', keeping
[60272] dbg: util: PATH included '/bin', keeping
[60272] dbg: util: PATH included '/usr/sbin', keeping
[60272] dbg: util: PATH included '/usr/bin', keeping
[60272] dbg: util: PATH included '/usr/games', keeping
[60272] dbg: util: PATH included '/usr/local/sbin', keeping
[60272] dbg: util: PATH included '/usr/local/bin', keeping
[60272] dbg: util: PATH included '/usr/X11R6/bin', keeping
[60272] dbg: util: PATH included '/root/bin', which doesn't exist, dropping
[60272] dbg: util: final PATH set to: /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
[60272] dbg: dns: is Net::DNS::Resolver available? yes
[60272] dbg: dns: Net::DNS version: 0.59
[60272] dbg: diag: perl platform: 5.008008 freebsd
[60272] dbg: diag: module installed: Digest::SHA1, version 2.11
[60272] dbg: diag: module installed: HTML::Parser, version 3.56
[60272] dbg: diag: module installed: Net::DNS, version 0.59
[60272] dbg: diag: module installed: MIME::Base64, version 3.07
[60272] dbg: diag: module installed: DB_File, version 1.814
[60272] dbg: diag: module installed: Net::SMTP, version 2.30
[60272] dbg: diag: module not installed: Mail::SPF ('require' failed)
[60272] dbg: diag: module installed: Mail::SPF::Query, version 1.999001
[60272] dbg: diag: module not installed: IP::Country::Fast ('require' failed)
[60272] dbg: diag: module installed: Razor2::Client::Agent, version 2.82
[60272] dbg: diag: module installed: Net::Ident, version 1.20
[60272] dbg: diag: module installed: IO::Socket::INET6, version 2.51
[60272] dbg: diag: module installed: IO::Socket::SSL, version 1.06
[60272] dbg: diag: module installed: Compress::Zlib, version 2.004
[60272] dbg: diag: module installed: Time::HiRes, version 1.9707
[60272] dbg: diag: module not installed: Mail::DomainKeys ('require' failed)
[60272] dbg: diag: module not installed: Mail::DKIM ('require' failed)
[60272] dbg: diag: module installed: DBI, version 1.56
[60272] dbg: diag: module installed: Getopt::Long, version 2.36
[60272] dbg: diag: module installed: LWP::UserAgent, version 2.033
[60272] dbg: diag: module installed: HTTP::Date, version 1.47
[60272] dbg: diag: module installed: Archive::Tar, version 1.32
[60272] dbg: diag: module installed: IO::Zlib, version 1.05
[60272] dbg: diag: module installed: Encode::Detect, version 1.00
[60272] dbg: ignore: using a test message to lint rules
[60272] dbg: config: using "/usr/local/etc/mail/spamassassin" for site rules pre files
[60272] dbg: config: read file /usr/local/etc/mail/spamassassin/init.pre
[60272] dbg: config: read file /usr/local/etc/mail/spamassassin/v310.pre
[60272] dbg: config: read file /usr/local/etc/mail/spamassassin/v312.pre
[60272] dbg: config: read file /usr/local/etc/mail/spamassassin/v320.pre
[60272] dbg: config: using "/usr/local/share/spamassassin" for sys rules pre files
[60272] dbg: config: using "/usr/local/share/spamassassin" for default rules dir
[60272] dbg: config: read file /usr/local/share/spamassassin/10_default_prefs.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/20_advance_fee.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/20_body_tests.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/20_compensate.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/20_dnsbl_tests.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/20_drugs.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/20_dynrdns.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/20_fake_helo_tests.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/20_head_tests.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/20_html_tests.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/20_imageinfo.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/20_meta_tests.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/20_net_tests.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/20_phrases.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/20_porn.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/20_ratware.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/20_uri_tests.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/20_vbounce.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/23_bayes.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/25_accessdb.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/25_antivirus.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/25_asn.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/25_dcc.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/25_dkim.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/25_domainkeys.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/25_hashcash.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/25_pyzor.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/25_razor2.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/25_replace.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/25_spf.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/25_textcat.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/25_uribl.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/30_text_de.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/30_text_fr.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/30_text_it.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/30_text_nl.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/30_text_pl.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/30_text_pt_br.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/50_scores.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/60_awl.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/60_shortcircuit.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/60_whitelist.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/60_whitelist_dk.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/60_whitelist_dkim.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/60_whitelist_spf.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/60_whitelist_subject.cf
[60272] dbg: config: read file /usr/local/share/spamassassin/72_active.cf
[60272] dbg: config: using "/usr/local/etc/mail/spamassassin" for site rules dir
[60272] dbg: config: read file /usr/local/etc/mail/spamassassin/mailscanner.cf
[60272] dbg: config: using "/usr/local/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf" for user prefs file
[60272] dbg: config: read file /usr/local/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
[60272] dbg: pyzor: local tests only, disabling Pyzor
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
[60272] dbg: razor2: local tests only, skipping Razor
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
[60272] dbg: reporter: local tests only, disabling SpamCop
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::Check from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTTPSMismatch from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDetail from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::Bayes from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::BodyEval from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::DNSEval from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTMLEval from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::HeaderEval from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEEval from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayEval from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIEval from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::WLBLEval from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::VBounce from @INC
[60272] dbg: plugin: loading Mail::SpamAssassin::Plugin::ImageInfo from @INC
[60272] warn: config: failed to parse line, skipping, in "/usr/local/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_dcc 0
[60272] warn: config: failed to parse line, skipping, in "/usr/local/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf": use_razor1 0
[60272] dbg: rules: __MO_OL_9B90B merged duplicates: __MO_OL_C65FA
[60272] dbg: rules: __XM_OL_22B61 merged duplicates: __XM_OL_A842E
[60272] dbg: rules: __MO_OL_07794 merged duplicates: __MO_OL_8627E __MO_OL_F3B05
[60272] dbg: rules: __XM_OL_07794 merged duplicates: __XM_OL_25340 __XM_OL_3857F __XM_OL_4F240 __XM_OL_58CB5 __XM_OL_6554A __XM_OL_812FF __XM_OL_C65FA __XM_OL_CF0C0 __XM_OL_F475E __XM_OL_F6D01
[60272] dbg: rules: FH_MSGID_01C67 merged duplicates: __MSGID_VGA
[60272] dbg: rules: FS_NEW_SOFT_UPLOAD merged duplicates: HS_SUBJ_NEW_SOFTWARE
[60272] dbg: rules: __FH_HAS_XMSMAIL merged duplicates: __HAS_MSMAIL_PRI
[60272] dbg: rules: __MO_OL_015D5 merged duplicates: __MO_OL_6554A
[60272] dbg: rules: __MO_OL_91287 merged duplicates: __MO_OL_B30D1 __MO_OL_CF0C0
[60272] dbg: rules: __XM_OL_015D5 merged duplicates: __XM_OL_4BF4C __XM_OL_4EEDB __XM_OL_5B79A __XM_OL_9B90B __XM_OL_ADFF7 __XM_OL_B30D1 __XM_OL_B4B40 __XM_OL_BC7E6 __XM_OL_F3B05 __XM_OL_FF5C8
[60272] dbg: rules: __XM_OL_5E7ED merged duplicates: __XM_OL_D03AB
[60272] dbg: rules: __MO_OL_22B61 merged duplicates: __MO_OL_4F240 __MO_OL_ADFF7
[60272] dbg: rules: __MO_OL_812FF merged duplicates: __MO_OL_BC7E6
[60272] dbg: rules: __MO_OL_25340 merged duplicates: __MO_OL_4EEDB __MO_OL_7533E
[60272] dbg: rules: __MO_OL_58CB5 merged duplicates: __MO_OL_B4B40
[60272] dbg: rules: __DOS_HAS_ANY_URI merged duplicates: __HAS_ANY_URI
[60272] dbg: rules: __XM_OL_C7C33 merged duplicates: __XM_OL_C9068 __XM_OL_EF20B
[60272] dbg: rules: __MO_OL_72641 merged duplicates: __MO_OL_A842E
[60272] dbg: rules: __MO_OL_5E7ED merged duplicates: __MO_OL_C7C33
[60272] dbg: rules: __MO_OL_F475E merged duplicates: __MO_OL_FF5C8
[60272] dbg: rules: __MO_OL_4BF4C merged duplicates: __MO_OL_F6D01
[60272] dbg: conf: finish parsing
[60272] dbg: plugin: Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x943b0e8) implements 'finish_parsing_end', priority 0
[60272] dbg: replacetags: replacing tags
[60272] dbg: replacetags: done replacing tags
[60272] dbg: config: score set 0 chosen.
[60272] dbg: message: main message type: text/plain
[60272] dbg: message: ---- MIME PARSER START ----
[60272] dbg: message: parsing normal part
[60272] dbg: message: ---- MIME PARSER END ----
[60272] dbg: plugin: Mail::SpamAssassin::Plugin::DNSEval=HASH(0x92fbf0c) implements 'check_start', priority 0
[60272] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0x946d43c) implements 'check_main', priority 0
[60272] dbg: conf: trusted_networks are not configured; it is recommended that you configure trusted_networks manually
[60272] dbg: metadata: X-Spam-Relays-Trusted:
[60272] dbg: metadata: X-Spam-Relays-Untrusted:
[60272] dbg: metadata: X-Spam-Relays-Internal:
[60272] dbg: metadata: X-Spam-Relays-External:
[60272] dbg: message: no encoding detected
[60272] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x91cc574) implements 'parsed_metadata', priority 0
[60272] dbg: dns: is DNS available? 0
[60272] dbg: rules: local tests only, ignoring RBL eval
[60272] dbg: check: running tests for priority: -1000
[60272] dbg: rules: running head tests; score so far=0
[60272] dbg: rules: compiled head tests
[60272] dbg: eval: all '*From' addrs: ignore at compiling.spamassassin.taint.org
[60272] dbg: eval: all '*To' addrs:
[60272] dbg: rules: running body tests; score so far=0
[60272] dbg: rules: compiled body tests
[60272] dbg: rules: running uri tests; score so far=0
[60272] dbg: rules: compiled uri tests
[60272] dbg: rules: running rawbody tests; score so far=0
[60272] dbg: rules: compiled rawbody tests
[60272] dbg: rules: running full tests; score so far=0
[60272] dbg: rules: compiled full tests
[60272] dbg: rules: running meta tests; score so far=0
[60272] dbg: rules: compiled meta tests
[60272] dbg: check: running tests for priority: -950
[60272] dbg: rules: running head tests; score so far=0
[60272] dbg: rules: compiled head tests
[60272] dbg: rules: running body tests; score so far=0
[60272] dbg: rules: compiled body tests
[60272] dbg: rules: running uri tests; score so far=0
[60272] dbg: rules: compiled uri tests
[60272] dbg: rules: running rawbody tests; score so far=0
[60272] dbg: rules: compiled rawbody tests
[60272] dbg: rules: running full tests; score so far=0
[60272] dbg: rules: compiled full tests
[60272] dbg: rules: running meta tests; score so far=0
[60272] dbg: rules: compiled meta tests
[60272] dbg: check: running tests for priority: -900
[60272] dbg: rules: running head tests; score so far=0
[60272] dbg: rules: compiled head tests
[60272] dbg: rules: running body tests; score so far=0
[60272] dbg: rules: compiled body tests
[60272] dbg: rules: running uri tests; score so far=0
[60272] dbg: rules: compiled uri tests
[60272] dbg: rules: running rawbody tests; score so far=0
[60272] dbg: rules: compiled rawbody tests
[60272] dbg: rules: running full tests; score so far=0
[60272] dbg: rules: compiled full tests
[60272] dbg: rules: running meta tests; score so far=0
[60272] dbg: rules: compiled meta tests
[60272] dbg: check: running tests for priority: -400
[60272] dbg: rules: running head tests; score so far=0
[60272] dbg: rules: compiled head tests
[60272] dbg: rules: running body tests; score so far=0
[60272] dbg: rules: compiled body tests
[60272] dbg: rules: running uri tests; score so far=0
[60272] dbg: rules: compiled uri tests
[60272] dbg: rules: running rawbody tests; score so far=0
[60272] dbg: rules: compiled rawbody tests
[60272] dbg: rules: running full tests; score so far=0
[60272] dbg: rules: compiled full tests
[60272] dbg: rules: running meta tests; score so far=0
[60272] dbg: rules: compiled meta tests
[60272] dbg: check: running tests for priority: 0
[60272] dbg: rules: running head tests; score so far=0
[60272] dbg: rules: compiled head tests
[60272] dbg: rules: ran header rule __MISSING_REF ======> got hit: "UNSET"
[60272] dbg: rules: ran header rule __MSGID_OK_HOST ======> got hit: "@lint_rules>"
[60272] dbg: rules: ran header rule __MSGID_OK_DIGITS ======> got hit: "1182318781"
[60272] dbg: rules: ran header rule __MSOE_MID_WRONG_CASE ======> got hit: "
[60272] dbg: rules: Message-Id: "
[60272] dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<"
[60272] dbg: rules: ran header rule __SANE_MSGID ======> got hit: "<1182318781 at lint_rules>
[60272] dbg: rules: "
[60272] dbg: rules: ran header rule MISSING_DATE ======> got hit: "UNSET"
[60272] dbg: rules: ran eval rule NO_RELAYS ======> got hit (1)
[60272] dbg: rules: ran eval rule __UNUSABLE_MSGID ======> got hit (1)
[60272] dbg: rules: ran eval rule MISSING_HEADERS ======> got hit (1)
[60272] dbg: rules: running body tests; score so far=1.899
[60272] dbg: rules: compiled body tests
[60272] dbg: rules: ran body rule __NONEMPTY_BODY ======> got hit: "I"
[60272] dbg: rules: running uri tests; score so far=1.899
[60272] dbg: rules: compiled uri tests
[60272] dbg: https_http_mismatch: anchors 0
[60272] dbg: eval: stock info total: 0
[60272] dbg: rules: running rawbody tests; score so far=1.899
[60272] dbg: rules: compiled rawbody tests
[60272] dbg: rules: running full tests; score so far=1.899
[60272] dbg: rules: compiled full tests
[60272] dbg: rules: running meta tests; score so far=1.899
[60272] dbg: rules: compiled meta tests
[60272] dbg: check: running tests for priority: 500
[60272] dbg: rules: running head tests; score so far=1.899
[60272] dbg: rules: compiled head tests
[60272] dbg: rules: running body tests; score so far=1.899
[60272] dbg: rules: compiled body tests
[60272] dbg: rules: running uri tests; score so far=1.899
[60272] dbg: rules: compiled uri tests
[60272] dbg: rules: running rawbody tests; score so far=1.899
[60272] dbg: rules: compiled rawbody tests
[60272] dbg: rules: running full tests; score so far=1.899
[60272] dbg: rules: compiled full tests
[60272] dbg: rules: running meta tests; score so far=1.899
[60272] dbg: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK'
[60272] info: rules: meta test HS_PHARMA_1 has dependency 'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score
[60272] dbg: rules: compiled meta tests
[60272] dbg: check: running tests for priority: 1000
[60478] dbg: rules: running head tests; score so far=4.205
[60478] dbg: rules: compiled head tests
[60478] dbg: rules: running body tests; score so far=4.205
[60478] dbg: rules: compiled body tests
[60478] dbg: rules: running uri tests; score so far=4.205
[60478] dbg: rules: compiled uri tests
[60478] dbg: rules: running rawbody tests; score so far=4.205
[60478] dbg: rules: compiled rawbody tests
[60478] dbg: rules: running full tests; score so far=4.205
[60478] dbg: rules: compiled full tests
[60478] dbg: rules: running meta tests; score so far=4.205
[60478] dbg: rules: compiled meta tests
[60478] dbg: check: is spam? score=4.205 required=5
[60478] dbg: check: tests=MISSING_DATE,MISSING_HEADERS,MISSING_SUBJECT,NO_RECEIVED,NO_RELAYS
[60478] dbg: check: subtests=__HAS_MSGID,__MISSING_REF,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__MSOE_MID_WRONG_CASE,__NONEMPTY_BODY,__SANE_MSGID,__UNUSABLE_MSGID
[60478] warn: lint: 2 issues detected, please rerun with debug enabled for more information


Does that help?

Cheers Daniel


-----Ursprüngliche Nachricht-----
Von: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] Im Auftrag von Glenn Steen
Gesendet: Dienstag, 19. Juni 2007 23:04
An: Mailscanner
Betreff: Re: MCP Check not working

On 19/06/07, Daniel Fuhrer <daniel at danielf.ch> wrote:
> Hi Glenn
> Sorry fort hat late reply. I had to figure out what you mean with lint. I hope I found did it right.
>
> I run the command:
> /usr/local/sbin/MailScanner --lint
>
> And the output was:
>
> Read 764 hostnames from the phishing whitelist
> Config: calling custom init function SQLBlacklist
> Config: calling custom init function MailWatchLogging
> Config: calling custom init function SQLWhitelist
> Checking version numbers...
> Version number in MailScanner.conf (4.60.8) is correct.
>
> Checking for SpamAssassin errors (if you use it)...
> Using SpamAssassin results cache
> Connected to SpamAssassin cache database
> SpamAssassin reported no errors.
> Using locktype = posix
> Creating hardcoded struct_flock subroutine for freebsd (BSD-type)
> MailScanner.conf says "Virus Scanners = clamav"
> Found these virus scanners installed: clamav
>
>
> Cheers Daniel
Ummmm.... Close:-)
I honestly could have been more verbose... I meant:'
do a spamassassin lint for the MCP stuff .... This is from memory, so
might be wrong, but something like:
spamassassin --lint -D -p /etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf
(perhaps end that with the usual "2>&1 | less -e" to have a chance to
read it all:-).
... I'm sure someone who has access to a MailScanner box ATM will
correct that, if it in some way would be wrong;-)

Cheers
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 


More information about the MailScanner mailing list