RES: RES: RES: mcp help

Wilson A. Galafassi Jr. wilson.galafassi at gmail.com
Tue May 29 15:29:22 IST 2007


My setting is Yes.

-----Mensagem original-----
De: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] Em nome de Julian Field
Enviada em: terça-feira, 29 de maio de 2007 11:08
Para: MailScanner discussion
Assunto: Re: RES: RES: mcp help

Yes, but what about the setting
    MCP Checks = yes
?
Remember MCP is off by default.

Wilson A. Galafassi Jr. wrote:
> I have something wrong... any help is very apreciated!
>
> Thanks
> Wilson
>
>
> My mailscanner.cf
>
> First Check = mcp
>
> # The rest of these options are clones of the equivalent spam options
> MCP Required SpamAssassin Score = 1
> MCP High SpamAssassin Score = 10
> MCP Error Score = 1
>
> MCP Header = X-%org-name%-MailScanner-MCPCheck:
> Non MCP Actions = deliver
> MCP Actions = store
> High Scoring MCP Actions = store
> Bounce MCP As Attachment = no
>
> MCP Modify Subject = start
> MCP Subject Text = {MCP?}
> High Scoring MCP Modify Subject = start
> High Scoring MCP Subject Text = {MCP?}
>
> Is Definitely MCP = no
> Is Definitely Not MCP = no
> Definite MCP Is High Scoring = yes
> Always Include MCP Report = yes
> Detailed MCP Report = yes
> Include Scores In MCP Report = yes
> Log MCP = yes
>
> MCP Max SpamAssassin Timeouts = 20
> MCP Max SpamAssassin Size = 100k
> MCP SpamAssassin Timeout = 10
>
> MCP SpamAssassin Prefs File = %mcp-dir%/mcp.spam.assassin.prefs.conf
> MCP SpamAssassin User State Dir = /var/spool/MailScanner/mcp
> MCP SpamAssassin Local Rules Dir = %mcp-dir%
> MCP SpamAssassin Default Rules Dir = %mcp-dir%
> MCP SpamAssassin Install Prefix = %mcp-dir%
> Recipient MCP Report = %report-dir%/recipient.mcp.report.txt
> Sender MCP Report = %report-dir%/sender.mcp.report.txt
>
>
> My test mail:
>
> >From wilson at ftpmanager.com  Tue May 29 10:19:42 2007
> Return-Path: <wilson at ftpmanager.com>
> X-Original-To: wilson at ftpmanager.com
> Delivered-To: wilson at ftpmanager.com
> Received: from sdxp (unknown [192.168.0.1])
>         by netserver.ftpmanager.com (Postfix) with SMTP id 1784D107F90
>         for <wilson at ftpmanager.com>; Tue, 29 May 2007 10:19:27 -0300 (BRT)
> Message-ID: <000801c7a1f3$f2253cc0$0100a8c0 at sdxp>
> From: "Wilson - FTP" <wilson at ftpmanager.com>
> To: <wilson at ftpmanager.com>
> Subject: teste
> Date: Tue, 29 May 2007 10:19:11 -0300
> MIME-Version: 1.0
> Content-Type: multipart/alternative;
>         boundary="----=_NextPart_000_0005_01C7A1DA.CCACFD20"
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 6.00.2900.3028
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
> X-ftpmanagerbr_net-MailScanner-Information: Please contact the ISP for
more
> information
> X-ftpmanagerbr_net-MailScanner: Found to be clean
> X-ftpmanagerbr_net-MailScanner-MCPCheck: MCP-Limpo, MCP-Checa (escore=0,
>         requerido 1)
> X-ftpmanagerbr_net-MailScanner-From: wilson at ftpmanager.com
> X-Spam-Status: No
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_0005_01C7A1DA.CCACFD20
> Content-Type: text/plain;
>         charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Block this tôo
>
>
> My cf file:
>
> header MY_RULE_1 Subject =~ /block this phrase/i
> score MY_RULE_1 100
>
> body MY_RULE_2 /Block this too/i
> score MY_RULE_2 100
>
> body MY_RULE_3 /this\s*is\s*more\s*complicated/i
> score MY_RULE_3 100
>
>
> body     SAMPLE_RULE2    /this/i
> describe SAMPLE_RULE2    Banned body text
> score    SAMPLE_RULE2    5
>
> body LOCAL_DEMONSTRATION_RULE   /test/
> score LOCAL_DEMONSTRATION_RULE 100
> describe LOCAL_DEMONSTRATION_RULE       This is a simple test rule
>
> header LOCAL_DEMONSTRATION_SUBJECT      Subject =~ /\btest\b/i
> score LOCAL_DEMONSTRATION_SUBJECT       100
>
>
> The spamassassin test:
>
> spamassassin -C /etc/MailScanner/mcp -p
> /etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf --mbox -t -D <
teste.mail 
> [15603] dbg: logger: adding facilities: all
> [15603] dbg: logger: logging level is DBG
> [15603] dbg: generic: SpamAssassin version 3.2.0
> [15603] dbg: config: score set 0 chosen.
> [15603] dbg: util: running in taint mode? yes
> [15603] dbg: util: taint mode: deleting unsafe environment variables,
> resetting PATH
> [15603] dbg: util: PATH included '/usr/kerberos/sbin', keeping
> [15603] dbg: util: PATH included '/usr/kerberos/bin', keeping
> [15603] dbg: util: PATH included '/usr/local/sbin', keeping
> [15603] dbg: util: PATH included '/usr/local/bin', keeping
> [15603] dbg: util: PATH included '/sbin', keeping
> [15603] dbg: util: PATH included '/bin', keeping
> [15603] dbg: util: PATH included '/usr/sbin', keeping
> [15603] dbg: util: PATH included '/usr/bin', keeping
> [15603] dbg: util: PATH included '/root/bin', which doesn't exist,
dropping
> [15603] dbg: util: final PATH set to:
>
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/b
> in:/usr/sbin:/usr/bin
> [15603] dbg: dns: no ipv6
> [15603] dbg: dns: is Net::DNS::Resolver available? yes
> [15603] dbg: dns: Net::DNS version: 0.59
> [15603] dbg: config: using "/etc/mail/spamassassin" for site rules pre
files
> [15603] dbg: config: read file /etc/mail/spamassassin/init.pre
> [15603] dbg: config: read file /etc/mail/spamassassin/v310.pre
> [15603] dbg: config: read file /etc/mail/spamassassin/v312.pre
> [15603] dbg: config: read file /etc/mail/spamassassin/v320.pre
> [15603] dbg: config: using "/etc/MailScanner/mcp" for sys rules pre files
> [15603] dbg: config: using "/etc/MailScanner/mcp" for default rules dir
> [15603] dbg: config: read file /etc/MailScanner/mcp/digital.cf
> [15603] dbg: config: using "/etc/mail/spamassassin" for site rules dir
> [15603] dbg: config: read file /etc/mail/spamassassin/local.cf
> [15603] dbg: config: read file /etc/mail/spamassassin/mailscanner.cf
> [15603] dbg: config: using "/root/.spamassassin" for user state dir
> [15603] dbg: config: using
> "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf" for user prefs file
> [15603] dbg: config: read file
> /etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayCountry from
> @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
> [15603] dbg: razor2: razor2 is not available
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::ASN from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
> [15603] dbg: pyzor: network tests on, attempting Pyzor
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
> [15603] dbg: razor2: razor2 is not available
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::Razor2=HASH(0x921ab8c), already registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
> [15603] dbg: plugin: loading
Mail::SpamAssassin::Plugin::AutoLearnThreshold
> from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject
> from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from
> @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from
> @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayCountry from
> @INC
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::RelayCountry=HASH(0x93863c8), already
registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::SPF=HASH(0x921ad48), already registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from
@INC
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x92ea180), already registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::ASN from @INC
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::ASN=HASH(0x925f2ac), already registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::Check from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTTPSMismatch
from
> @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDetail from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::Bayes from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::BodyEval from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::DNSEval from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTMLEval from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::HeaderEval from
> @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEEval from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayEval from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIEval from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::WLBLEval from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::VBounce from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::ImageInfo from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayCountry from
> @INC
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::RelayCountry=HASH(0x953093c), already
registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::SPF=HASH(0x921b240), already registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from
@INC
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x93868e4), already registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
> [15603] dbg: razor2: razor2 is not available
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::Razor2=HASH(0x9386a88), already registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::ASN from @INC
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::ASN=HASH(0x9334ac8), already registered
> [15603] dbg: conf: finish parsing
> [15603] dbg: plugin:
Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x9386344)
> implements 'finish_parsing_end', priority 0
> [15603] dbg: replacetags: replacing tags
> [15603] dbg: replacetags: done replacing tags
> [15603] dbg: config: score set 1 chosen.
> [15603] dbg: message: main message type: multipart/alternative
> [15603] dbg: plugin: Mail::SpamAssassin::Plugin::DNSEval=HASH(0x941cf78)
> implements 'check_start', priority 0
> [15603] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0x93d2508)
> implements 'check_main', priority 0
> [15603] dbg: conf: trusted_networks are not configured; it is recommended
> that you configure trusted_networks manually
> [15603] dbg: received-header: parsed as [ ip=192.168.0.1 rdns= helo=sdxp
> by=netserver.ftpmanagerbr.net ident= envfrom= intl=0 id=1784D107F90 auth=
> msa=0 ]
> [15603] dbg: received-header: 'from' 192.168.0.1 has private IP
> [15603] dbg: received-header: relay 192.168.0.1 trusted? yes internal? yes
> msa? no
> [15603] dbg: metadata: X-Spam-Relays-Trusted: [ ip=192.168.0.1 rdns=
> helo=sdxp by=netserver.ftpmanagerbr.net ident= envfrom= intl=1
> id=1784D107F90 auth= msa=0 ]
> [15603] dbg: metadata: X-Spam-Relays-Untrusted: 
> [15603] dbg: metadata: X-Spam-Relays-Internal: [ ip=192.168.0.1 rdns=
> helo=sdxp by=netserver.ftpmanagerbr.net ident= envfrom= intl=1
> id=1784D107F90 auth= msa=0 ]
> [15603] dbg: metadata: X-Spam-Relays-External: 
> [15603] dbg: plugin:
> Mail::SpamAssassin::Plugin::RelayCountry=HASH(0x92c9644) implements
> 'extract_metadata', priority 0
> [15603] dbg: metadata: X-Relay-Countries: 
> [15603] dbg: message: ---- MIME PARSER START ----
> [15603] dbg: message: parsing multipart, got boundary:
> ----=_NextPart_000_0005_01C7A1DA.CCACFD20
> [15603] dbg: message: found part of type text/plain, boundary:
> ----=_NextPart_000_0005_01C7A1DA.CCACFD20
> [15603] dbg: message: added part, type: text/plain
> [15603] dbg: message: parsing normal part
> [15603] dbg: message: ---- MIME PARSER END ----
> [15603] dbg: message: decoding quoted-printable
> [15603] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x925efb8)
> implements 'parsed_metadata', priority 0
> [15603] dbg: plugin:
> Mail::SpamAssassin::Plugin::RelayCountry=HASH(0x92c9644) implements
> 'parsed_metadata', priority 0
> [15603] dbg: plugin: Mail::SpamAssassin::Plugin::ASN=HASH(0x93133ac)
> implements 'parsed_metadata', priority 0
> [15603] dbg: dns: dns_available set to yes in config file, skipping test
> [15603] dbg: uridnsbl: domains to query: 
> [15603] dbg: asn: no asn_lookup configured, skipping ASN lookups
> [15603] dbg: check: running tests for priority: 0
> [15603] dbg: rules: running head tests; score so far=0
> [15603] dbg: rules: compiled head tests
> [15603] dbg: rules: running body tests; score so far=0
> [15603] dbg: rules: compiled body tests
> [15603] dbg: rules: ran body rule LOCAL_DEMONSTRATION_RULE ======> got
hit:
> "test"
> [15603] dbg: rules: running uri tests; score so far=100
> [15603] dbg: rules: compiled uri tests
> [15603] dbg: rules: running rawbody tests; score so far=100
> [15603] dbg: rules: compiled rawbody tests
> [15603] dbg: rules: running full tests; score so far=100
> [15603] dbg: rules: compiled full tests
> [15603] dbg: rules: running meta tests; score so far=100
> [15603] dbg: rules: compiled meta tests
> [15603] dbg: check: is spam? score=100 required=5
> [15603] dbg: check: tests=LOCAL_DEMONSTRATION_RULE
> [15603] dbg: check: subtests=
> >From wilson at ftpmanagerbr.net  Tue May 29 10:19:42 2007
> Received: from localhost by netserver.ftpmanagerbr.net
>         with SpamAssassin (version 3.2.0);
>         Tue, 29 May 2007 10:28:40 -0300
> From: "Wilson - FTP" <wilson at ftpmanagerbr.net>
> To: <wilson at ftpmanagerbr.net>
> Subject: teste
> Date: Tue, 29 May 2007 10:19:11 -0300
> Message-Id: <000801c7a1f3$f2253cc0$0100a8c0 at sdxp>
> X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on
>         netserver.ftpmanagerbr.net
> MIME-Version: 1.0
> Content-Type: multipart/mixed; boundary="----------=_465C2A88.4A78356A"
>
> This is a multi-part message in MIME format.
>
> ------------=_465C2A88.4A78356A
> Content-Type: text/plain; charset=iso-8859-1
> Content-Disposition: inline
> Content-Transfer-Encoding: 8bit
>
> (no report template found)
>
>
>
> ------------=_465C2A88.4A78356A
> Content-Type: message/rfc822; x-spam-type=original
> Content-Description: original message before SpamAssassin
> Content-Disposition: attachment
> Content-Transfer-Encoding: 8bit
>
> Return-Path: <wilson at ftpmanagerbr.net>
> X-Original-To: wilson at ftpmanagerbr.net
> Delivered-To: wilson at ftpmanagerbr.net
> Received: from sdxp (unknown [192.168.0.1])
>         by netserver.ftpmanagerbr.net (Postfix) with SMTP id 1784D107F90
>         for <wilson at ftpmanagerbr.net>; Tue, 29 May 2007 10:19:27 -0300
(BRT)
> Message-ID: <000801c7a1f3$f2253cc0$0100a8c0 at sdxp>
> From: "Wilson - FTP" <wilson at ftpmanagerbr.net>
> To: <wilson at ftpmanagerbr.net>
> Subject: teste
> Date: Tue, 29 May 2007 10:19:11 -0300
> MIME-Version: 1.0
> Content-Type: multipart/alternative;
>         boundary="----=_NextPart_000_0005_01C7A1DA.CCACFD20"
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 6.00.2900.3028
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
> X-ftpmanagerbr_net-MailScanner-Information: Please contact the ISP for
more
> information
> X-ftpmanagerbr_net-MailScanner: Found to be clean
> X-ftpmanagerbr_net-MailScanner-MCPCheck: MCP-Limpo, MCP-Checa (escore=0,
>         requerido 1)
> X-ftpmanagerbr_net-MailScanner-From: wilson at ftpmanagerbr.net
> X-Spam-Status: No
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_0005_01C7A1DA.CCACFD20
> Content-Type: text/plain;
>         charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Block this too
>
> ------------=_465C2A88.4A78356A--
>
> (no report template found) spamassassin -C /etc/MailScanner/mcp -p
> /etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf --mbox -t -D <
teste.mail 
> [15603] dbg: logger: adding facilities: all
> [15603] dbg: logger: logging level is DBG
> [15603] dbg: generic: SpamAssassin version 3.2.0
> [15603] dbg: config: score set 0 chosen.
> [15603] dbg: util: running in taint mode? yes
> [15603] dbg: util: taint mode: deleting unsafe environment variables,
> resetting PATH
> [15603] dbg: util: PATH included '/usr/kerberos/sbin', keeping
> [15603] dbg: util: PATH included '/usr/kerberos/bin', keeping
> [15603] dbg: util: PATH included '/usr/local/sbin', keeping
> [15603] dbg: util: PATH included '/usr/local/bin', keeping
> [15603] dbg: util: PATH included '/sbin', keeping
> [15603] dbg: util: PATH included '/bin', keeping
> [15603] dbg: util: PATH included '/usr/sbin', keeping
> [15603] dbg: util: PATH included '/usr/bin', keeping
> [15603] dbg: util: PATH included '/root/bin', which doesn't exist,
dropping
> [15603] dbg: util: final PATH set to:
>
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/b
> in:/usr/sbin:/usr/bin
> [15603] dbg: dns: no ipv6
> [15603] dbg: dns: is Net::DNS::Resolver available? yes
> [15603] dbg: dns: Net::DNS version: 0.59
> [15603] dbg: config: using "/etc/mail/spamassassin" for site rules pre
files
> [15603] dbg: config: read file /etc/mail/spamassassin/init.pre
> [15603] dbg: config: read file /etc/mail/spamassassin/v310.pre
> [15603] dbg: config: read file /etc/mail/spamassassin/v312.pre
> [15603] dbg: config: read file /etc/mail/spamassassin/v320.pre
> [15603] dbg: config: using "/etc/MailScanner/mcp" for sys rules pre files
> [15603] dbg: config: using "/etc/MailScanner/mcp" for default rules dir
> [15603] dbg: config: read file /etc/MailScanner/mcp/digital.cf
> [15603] dbg: config: using "/etc/mail/spamassassin" for site rules dir
> [15603] dbg: config: read file /etc/mail/spamassassin/local.cf
> [15603] dbg: config: read file /etc/mail/spamassassin/mailscanner.cf
> [15603] dbg: config: using "/root/.spamassassin" for user state dir
> [15603] dbg: config: using
> "/etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf" for user prefs file
> [15603] dbg: config: read file
> /etc/MailScanner/mcp/mcp.spam.assassin.prefs.conf
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayCountry from
> @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
> [15603] dbg: razor2: razor2 is not available
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::ASN from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
> [15603] dbg: pyzor: network tests on, attempting Pyzor
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
> [15603] dbg: razor2: razor2 is not available
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::Razor2=HASH(0x921ab8c), already registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
> [15603] dbg: plugin: loading
Mail::SpamAssassin::Plugin::AutoLearnThreshold
> from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject
> from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from
> @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from
> @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayCountry from
> @INC
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::RelayCountry=HASH(0x93863c8), already
registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::SPF=HASH(0x921ad48), already registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from
@INC
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x92ea180), already registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::ASN from @INC
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::ASN=HASH(0x925f2ac), already registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::Check from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTTPSMismatch
from
> @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDetail from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::Bayes from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::BodyEval from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::DNSEval from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTMLEval from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::HeaderEval from
> @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEEval from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayEval from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIEval from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::WLBLEval from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::VBounce from @INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::ImageInfo from
@INC
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayCountry from
> @INC
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::RelayCountry=HASH(0x953093c), already
registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::SPF=HASH(0x921b240), already registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from
@INC
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x93868e4), already registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
> [15603] dbg: razor2: razor2 is not available
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::Razor2=HASH(0x9386a88), already registered
> [15603] dbg: plugin: loading Mail::SpamAssassin::Plugin::ASN from @INC
> [15603] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::ASN=HASH(0x9334ac8), already registered
> [15603] dbg: conf: finish parsing
> [15603] dbg: plugin:
Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x9386344)
> implements 'finish_parsing_end', priority 0
> [15603] dbg: replacetags: replacing tags
> [15603] dbg: replacetags: done replacing tags
> [15603] dbg: config: score set 1 chosen.
> [15603] dbg: message: main message type: multipart/alternative
> [15603] dbg: plugin: Mail::SpamAssassin::Plugin::DNSEval=HASH(0x941cf78)
> implements 'check_start', priority 0
> [15603] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0x93d2508)
> implements 'check_main', priority 0
> [15603] dbg: conf: trusted_networks are not configured; it is recommended
> that you configure trusted_networks manually
> [15603] dbg: received-header: parsed as [ ip=192.168.0.1 rdns= helo=sdxp
> by=netserver.ftpmanagerbr.net ident= envfrom= intl=0 id=1784D107F90 auth=
> msa=0 ]
> [15603] dbg: received-header: 'from' 192.168.0.1 has private IP
> [15603] dbg: received-header: relay 192.168.0.1 trusted? yes internal? yes
> msa? no
> [15603] dbg: metadata: X-Spam-Relays-Trusted: [ ip=192.168.0.1 rdns=
> helo=sdxp by=netserver.ftpmanagerbr.net ident= envfrom= intl=1
> id=1784D107F90 auth= msa=0 ]
> [15603] dbg: metadata: X-Spam-Relays-Untrusted: 
> [15603] dbg: metadata: X-Spam-Relays-Internal: [ ip=192.168.0.1 rdns=
> helo=sdxp by=netserver.ftpmanagerbr.net ident= envfrom= intl=1
> id=1784D107F90 auth= msa=0 ]
> [15603] dbg: metadata: X-Spam-Relays-External: 
> [15603] dbg: plugin:
> Mail::SpamAssassin::Plugin::RelayCountry=HASH(0x92c9644) implements
> 'extract_metadata', priority 0
> [15603] dbg: metadata: X-Relay-Countries: 
> [15603] dbg: message: ---- MIME PARSER START ----
> [15603] dbg: message: parsing multipart, got boundary:
> ----=_NextPart_000_0005_01C7A1DA.CCACFD20
> [15603] dbg: message: found part of type text/plain, boundary:
> ----=_NextPart_000_0005_01C7A1DA.CCACFD20
> [15603] dbg: message: added part, type: text/plain
> [15603] dbg: message: parsing normal part
> [15603] dbg: message: ---- MIME PARSER END ----
> [15603] dbg: message: decoding quoted-printable
> [15603] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x925efb8)
> implements 'parsed_metadata', priority 0
> [15603] dbg: plugin:
> Mail::SpamAssassin::Plugin::RelayCountry=HASH(0x92c9644) implements
> 'parsed_metadata', priority 0
> [15603] dbg: plugin: Mail::SpamAssassin::Plugin::ASN=HASH(0x93133ac)
> implements 'parsed_metadata', priority 0
> [15603] dbg: dns: dns_available set to yes in config file, skipping test
> [15603] dbg: uridnsbl: domains to query: 
> [15603] dbg: asn: no asn_lookup configured, skipping ASN lookups
> [15603] dbg: check: running tests for priority: 0
> [15603] dbg: rules: running head tests; score so far=0
> [15603] dbg: rules: compiled head tests
> [15603] dbg: rules: running body tests; score so far=0
> [15603] dbg: rules: compiled body tests
> [15603] dbg: rules: ran body rule LOCAL_DEMONSTRATION_RULE ======> got
hit:
> "test"
> [15603] dbg: rules: running uri tests; score so far=100
> [15603] dbg: rules: compiled uri tests
> [15603] dbg: rules: running rawbody tests; score so far=100
> [15603] dbg: rules: compiled rawbody tests
> [15603] dbg: rules: running full tests; score so far=100
> [15603] dbg: rules: compiled full tests
> [15603] dbg: rules: running meta tests; score so far=100
> [15603] dbg: rules: compiled meta tests
> [15603] dbg: check: is spam? score=100 required=5
> [15603] dbg: check: tests=LOCAL_DEMONSTRATION_RULE
> [15603] dbg: check: subtests=
> >From wilson at ftpmanagerbr.net  Tue May 29 10:19:42 2007
> Received: from localhost by netserver.ftpmanagerbr.net
>         with SpamAssassin (version 3.2.0);
>         Tue, 29 May 2007 10:28:40 -0300
> From: "Wilson - FTP" <wilson at ftpmanagerbr.net>
> To: <wilson at ftpmanagerbr.net>
> Subject: teste
> Date: Tue, 29 May 2007 10:19:11 -0300
> Message-Id: <000801c7a1f3$f2253cc0$0100a8c0 at sdxp>
> X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on
>         netserver.ftpmanagerbr.net
> MIME-Version: 1.0
> Content-Type: multipart/mixed; boundary="----------=_465C2A88.4A78356A"
>
> This is a multi-part message in MIME format.
>
> ------------=_465C2A88.4A78356A
> Content-Type: text/plain; charset=iso-8859-1
> Content-Disposition: inline
> Content-Transfer-Encoding: 8bit
>
> (no report template found)
>
>
>
> ------------=_465C2A88.4A78356A
> Content-Type: message/rfc822; x-spam-type=original
> Content-Description: original message before SpamAssassin
> Content-Disposition: attachment
> Content-Transfer-Encoding: 8bit
>
> Return-Path: <wilson at ftpmanagerbr.net>
> X-Original-To: wilson at ftpmanagerbr.net
> Delivered-To: wilson at ftpmanagerbr.net
> Received: from sdxp (unknown [192.168.0.1])
>         by netserver.ftpmanagerbr.net (Postfix) with SMTP id 1784D107F90
>         for <wilson at ftpmanagerbr.net>; Tue, 29 May 2007 10:19:27 -0300
(BRT)
> Message-ID: <000801c7a1f3$f2253cc0$0100a8c0 at sdxp>
> From: "Wilson - FTP" <wilson at ftpmanagerbr.net>
> To: <wilson at ftpmanagerbr.net>
> Subject: teste
> Date: Tue, 29 May 2007 10:19:11 -0300
> MIME-Version: 1.0
> Content-Type: multipart/alternative;
>         boundary="----=_NextPart_000_0005_01C7A1DA.CCACFD20"
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 6.00.2900.3028
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
> X-ftpmanagerbr_net-MailScanner-Information: Please contact the ISP for
more
> information
> X-ftpmanagerbr_net-MailScanner: Found to be clean
> X-ftpmanagerbr_net-MailScanner-MCPCheck: MCP-Limpo, MCP-Checa (escore=0,
>         requerido 1)
> X-ftpmanagerbr_net-MailScanner-From: wilson at ftpmanagerbr.net
> X-Spam-Status: No
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_0005_01C7A1DA.CCACFD20
> Content-Type: text/plain;
>         charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Block this too
>
> ------------=_465C2A88.4A78356A--
>
> (no report template found)
>
>
> De: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] Em nome de Lasantha
> Marian
> Enviada em: terça-feira, 29 de maio de 2007 06:14
> Para: MailScanner discussion
> Assunto: Re: RES: mcp help
>
> Dear Julian,
>
> I have been experiencing some strange behaviors in my MCP setup (SA
3.2.0/MS
> 4.59.4) too, i.e. MCP setup works very fine when tested from command line
so
> does SpamAssassin setup (from both ends; command line and from
MailScanner),
> but MCP would not work properly from MailScanner. It would happily scan
but
> does not report against customized MCP rules. MCP rules are properly
applied
> and correct scores are shown when run from command line without any
errors.
> The very same MCP rules set works fine with earlier versions (SA 3.1.1/MS
> 4.53.8).
>
> I think it is the same kind of problem that Wilson is experiencing in MCP.
> It identifies MCP, but then may be a reporting problem !
>
> Thanks and regards,
>
> Lasantha.
>
>
> *-------- Original Message --------*
> *Subject: *    RES: mcp help
> *Date: *    Tue, 29/May/2007 4:39:25 AM +0550
> *From: *    "Wilson A. Galafassi Jr." <wilson.galafassi at gmail.com>
> *To: *    "'MailScanner discussion'" <mailscanner at lists.mailscanner.info>
>
>
>   
>> spamassassin --D --lint >
>>     
> /tmp/sa.log 2>&1
>
>   
>
>   
>> This is the result.
>>     
>
>   
>
>   
>> [root at netserver tmp]# cat sa.log 
>>     
>
>   
>> [26391] dbg: logger: adding facilities: all
>>     
>
>   
>> [26391] dbg: logger: logging level is DBG
>>     
>
>   
>> [26391] dbg: generic: SpamAssassin version 3.2.0
>>     
>
>   
>> [26391] dbg: config: score set 0 chosen.
>>     
>
>   
>> [26391] dbg: util: running in taint mode? yes
>>     
>
>   
>> [26391] dbg: util: taint mode: deleting unsafe environment
>>     
> variables,
>
>   
>> resetting PATH
>>     
>
>
>
>
>
>   

Jules

-- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk

-- 
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