<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Wilson,<br>
<br>
You could use the following command.<br>
<br>
spamassassin -D -t -C
/usr/local/MailScanner/etc/mcp&lt;/root/mcp-mail.txt<br>
<br>
You should have custom MCP rules available in
/usr/local/MailScanner/etc/ as a .cf file. The file mcp-mail.txt is the
file containing the MCP test message which should turn mcp positive. It
is assumed that you have correctly done your MCP enabling in
MailScanner.conf.<br>
<br>
Best regards,<br>
<br>
Lasantha.<br>
<br>
<span>
<div style="border-right: medium none blue; margin-bottom: -2em;">
<table class="moz-email-headers-table"
 style="background-color: rgb(222, 237, 245);" border="0"
 cellpadding="0" cellspacing="0" width="100%">
  <tbody>
    <tr>
      <td colspan="2"
 style="border-bottom: 1px solid rgb(27, 159, 224);"><b>--------
Original Message --------</b></td>
    </tr>
    <tr>
      <th style="border-bottom: 1px solid rgb(27, 159, 224);"
 align="right" nowrap="nowrap" valign="baseline"><b>Subject:&nbsp;</b></th>
      <td style="border-bottom: 1px solid rgb(27, 159, 224);"
 width="100%">RES: RES: mcp help</td>
    </tr>
    <tr>
      <th style="border-bottom: 1px solid rgb(27, 159, 224);"
 align="right" nowrap="nowrap" valign="baseline"><b>Date:&nbsp;</b></th>
      <td style="border-bottom: 1px solid rgb(27, 159, 224);"
 width="100%">Tue, 29/May/2007 4:04:48 PM +0550</td>
    </tr>
    <tr>
      <th style="border-bottom: 1px solid rgb(27, 159, 224);"
 align="right" nowrap="nowrap" valign="baseline"><b>From:&nbsp;</b></th>
      <td style="border-bottom: 1px solid rgb(27, 159, 224);"
 width="100%">"Wilson A. Galafassi Jr."
<a class="moz-txt-link-rfc2396E" href="mailto:wilson.galafassi@gmail.com">&lt;wilson.galafassi@gmail.com&gt;</a></td>
    </tr>
    <tr>
      <th style="border-bottom: 1px solid rgb(27, 159, 224);"
 align="right" nowrap="nowrap" valign="baseline"><b>To:&nbsp;</b></th>
      <td style="border-bottom: 1px solid rgb(27, 159, 224);"
 width="100%">"'MailScanner discussion'"
<a class="moz-txt-link-rfc2396E" href="mailto:mailscanner@lists.mailscanner.info">&lt;mailscanner@lists.mailscanner.info&gt;</a></td>
    </tr>
  </tbody>
</table>
</div>
</span><br>
<blockquote
 cite="mid:!&amp;!AAAAAAAAAAAYAAAAAAAAACCX86jW8GpMuxxs8io8EHLCgAAAEAAAAOIJcZy5NDZOoGM78yorl7UBAAAAAA==@galafassi.com.br"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 12 (filtered medium)">
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EstiloDeEmail17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
  </style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  <div class="Section1">
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">How
i can test from command line to grant that i have the same
problem?<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);"><o:p>&nbsp;</o:p></span></p>
  <div>
  <div
 style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
  <p class="MsoNormal"><b><span
 style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: windowtext;">De:</span></b><span
 style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: windowtext;">
<a class="moz-txt-link-abbreviated" href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a>
[<a class="moz-txt-link-freetext" href="mailto:mailscanner-bounces@lists.mailscanner.info">mailto:mailscanner-bounces@lists.mailscanner.info</a>] <b>Em nome de </b>Lasantha
Marian<br>
  <b>Enviada em:</b> ter&ccedil;a-feira, 29 de maio de 2007 06:14<br>
  <b>Para:</b> MailScanner discussion<br>
  <b>Assunto:</b> Re: RES: mcp help<o:p></o:p></span></p>
  </div>
  </div>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  <p class="MsoNormal">Dear Julian,<br>
  <br>
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).<br>
  <br>
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 !<br>
  <br>
Thanks and regards,<br>
  <br>
Lasantha.<br>
  <br>
  <br>
*-------- Original Message --------*<br>
*Subject: *&nbsp;&nbsp; &nbsp;RES: mcp help<br>
*Date: *&nbsp;&nbsp; &nbsp;Tue, 29/May/2007 4:39:25 AM +0550<br>
*From: *&nbsp;&nbsp; &nbsp;"Wilson A. Galafassi Jr." <a moz-do-not-send="true"
 href="mailto:wilson.galafassi@gmail.com">&lt;wilson.galafassi@gmail.com&gt;</a><br>
*To: *&nbsp;&nbsp; &nbsp;"'MailScanner discussion'" <a moz-do-not-send="true"
 href="mailto:mailscanner@lists.mailscanner.info">&lt;mailscanner@lists.mailscanner.info&gt;</a><br>
  <br>
  <br>
&gt; spamassassin --D --lint &gt;<o:p></o:p></p>
  <p class="MsoNormal">/tmp/sa.log 2&gt;&amp;1<br>
  <br>
  <o:p></o:p></p>
  <p class="MsoNormal">&gt;<br>
  <br>
  <o:p></o:p></p>
  <p class="MsoNormal">&gt; This is the result.<br>
  <br>
  <o:p></o:p></p>
  <p class="MsoNormal">&gt;<br>
  <br>
  <o:p></o:p></p>
  <p class="MsoNormal">&gt; [root@netserver tmp]# cat sa.log <br>
  <br>
  <o:p></o:p></p>
  <p class="MsoNormal">&gt; [26391] dbg: logger: adding facilities: all<br>
  <br>
  <o:p></o:p></p>
  <p class="MsoNormal">&gt; [26391] dbg: logger: logging level is DBG<br>
  <br>
  <o:p></o:p></p>
  <p class="MsoNormal">&gt; [26391] dbg: generic: SpamAssassin version
3.2.0<br>
  <br>
  <o:p></o:p></p>
  <p class="MsoNormal">&gt; [26391] dbg: config: score set 0 chosen.<br>
  <br>
  <o:p></o:p></p>
  <p class="MsoNormal">&gt; [26391] dbg: util: running in taint mode?
yes<br>
  <br>
  <o:p></o:p></p>
  <p class="MsoNormal">&gt; [26391] dbg: util: taint mode: deleting
unsafe
environment<o:p></o:p></p>
  <p class="MsoNormal">variables,<br>
  <br>
  <o:p></o:p></p>
  <p class="MsoNormal">&gt; resetting PATH<br>
  <br>
  <o:p></o:p></p>
  <p class="MsoNormal" style="margin-bottom: 12pt;"><br>
  <br>
  <br>
  <o:p></o:p></p>
  </div>
</blockquote>
</body>
</html>