<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2900.3562" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI">
<DIV>Julian,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Always Include SpamAssassin Report was set to off.&nbsp; I just turned it on and will see if that changes things.&nbsp; I wasn't sure if that setting would be a problem because it seems that there was a report even if the message was clean like the one below.&nbsp;&nbsp; It just seems like the Spam Report is included with every message except when the isspam =1 &amp; isrblspam =1 and the other two flags = 0.</DIV>
<DIV>&nbsp;</DIV>
<DIV><TR><TD class=heading align="right" width="175" valign="top">Spam:</TD><TD class=detail><SPAN class=NO>&nbsp;N&nbsp;</SPAN>&nbsp;&nbsp;Action(s): store, deliver, header, "X-Spam-Status:, No"</TD></TR> <TR><TD class=heading align="right" width="175" valign="top">High Scoring Spam:</TD><TD class=detail><SPAN class=NO>&nbsp;N&nbsp;</SPAN></TD></TR> <TR><TD class=heading align="right" width="175" valign="top">SpamAssassin Spam:</TD><TD class=detail><SPAN class=NO>&nbsp;N&nbsp;</SPAN></TD></TR> <TR><TD class=heading align="right" width="175" valign="top">Listed in RBL:</TD><TD class=detail><SPAN class=NO>&nbsp;N&nbsp;</SPAN></TD></TR> <TR><TD class=heading align="right" width="175" valign="top">Spam Whitelisted:</TD><TD class=detail><SPAN class=NO>&nbsp;N&nbsp;</SPAN></TD></TR> <TR><TD class=heading align="right" width="175" valign="top">Spam Blacklisted:</TD><TD class=detail><SPAN class=NO>&nbsp;N&nbsp;</SPAN></TD></TR> <TR><TD class=heading align="right" width="175" valign="top">SpamAssassin Autolearn:</TD><TD class=detail><SPAN class=NO>&nbsp;N&nbsp;</SPAN></TD></TR> <TR><TD class=heading align="right" width="175" valign="top">SpamAssassin Score:</TD><TD class=detail>3.28</TD></TR> <TR><TD class=heading align="right" width="175" valign="top">Spam Report:</TD><TD class=detail>
<TABLE class=sa_rules_report cellSpacing=2 cellPadding=1 width="100%" border=0>
<THEAD>
<TR>
<TH>Score</TH>
<TH>Matching Rule</TH>
<TH>Description</TH></TR></THEAD>
<TBODY>
<TR>
<TD>cached</TD>
<TD>not</TD>
<TD>&nbsp;</TD></TR>
<TR>
<TD></TD>
<TD>score=3.281</TD>
<TD>&nbsp;</TD></TR>
<TR>
<TD>3.5</TD>
<TD>required</TD>
<TD>&nbsp;</TD></TR>
<TR>
<TD align=left>-0.50</TD>
<TD width=200>BAYES_00</TD>
<TD>Bayesian spam probability is 0 to 1%</TD></TR>
<TR>
<TD align=left>2.17</TD>
<TD width=200>DCC_CHECK</TD>
<TD>Listed in DCC (http://rhyolite.com/anti-spam/dcc/)</TD></TR>
<TR>
<TD align=left>0.73</TD>
<TD width=200>HTML_COMMENT_SHORT</TD>
<TD>HTML comment is very short</TD></TR>
<TR>
<TD align=left>0.88</TD>
<TD width=200>HTML_FONT_FACE_BAD</TD>
<TD>HTML font face is not a word</TD></TR>
<TR>
<TD align=left>0.00</TD>
<TD width=200>HTML_MESSAGE</TD>
<TD>HTML included in message</TD></TR>
<TR>
<TD align=left>-0.00</TD>
<TD width=200>SPF_PASS</TD>
<TD>SPF: sender matches SPF record</TD></TR></TBODY></TABLE></TD></TR></DIV>
<DIV><BR>Gary</DIV>
<DIV><BR>&gt;&gt;&gt; Julian Field &lt;MailScanner@ecs.soton.ac.uk&gt; 6/26/2009 11:58 AM &gt;&gt;&gt;<BR>Does your MailScanner.conf have "Always Include SpamAssassin Report" <BR>switched on or off?<BR><BR>On 26/06/2009 16:31, Gary Faith wrote:<BR>&gt; Julian,<BR>&gt; Better.&nbsp; The spam report field is populated now but I don't think it <BR>&gt; is completely fixed.&nbsp; See below:<BR>&gt; Spam: Y&nbsp;&nbsp; Action(s): store, deliver, header, "X-Spam-Status:, Yes"<BR>&gt; High Scoring Spam: N<BR>&gt; SpamAssassin Spam: N<BR>&gt; Listed in RBL: Y<BR>&gt; Spam Whitelisted: N<BR>&gt; Spam Blacklisted: N<BR>&gt; SpamAssassin Autolearn: N<BR>&gt; SpamAssassin Score: 3.09<BR>&gt; Spam Report: spam, SBL+XBL<BR>&gt; I confirmed that the database shows spam, SBL+XBL only.&nbsp; Problem that <BR>&gt; I see is that there is nothing in the spamreport field to explain the <BR>&gt; 3.09 SpamAssassin score.<BR>&gt; Gary<BR>&gt;<BR>&gt;<BR>&gt; &gt;&gt;&gt; Julian Field &lt;MailScanner@ecs.soton.ac.uk&gt; 6/26/2009 4:41 AM &gt;&gt;&gt;<BR>&gt; Aha, well done for tracking down that case, I've been looking for that<BR>&gt; bug for ages.<BR>&gt; Due to your diagnostics I now have what should fix it.<BR>&gt;<BR>&gt; Please try the attached patch to<BR>&gt; /usr/lib/MailScanner/MailScanner/Message.pm and then restart MailScanner.<BR>&gt;<BR>&gt; Thanks for helping!<BR>&gt; Jules.<BR>&gt;<BR>&gt; On 26/06/2009 05:08, Gary Faith wrote:<BR>&gt; &gt; Follow Up!&nbsp; After doing more digging, I believe that I have found the<BR>&gt; &gt; common thread when the problem occurs.&nbsp; The spamreport field only<BR>&gt; &gt; seems to be blank when isspam &amp; isrblspam flags are set.&nbsp; If issaspam<BR>&gt; &gt; and/or ishighspam are set then spamreport has data.<BR>&gt; &gt; isspam&nbsp;&nbsp;&nbsp; tinyint(1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =1<BR>&gt; &gt; ishighspam&nbsp; tinyint(1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =0<BR>&gt; &gt; issaspam&nbsp; tinyint(1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =0<BR>&gt; &gt; isrblspam&nbsp; tinyint(1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =1<BR>&gt; &gt; spamwhitelisted&nbsp; tinyint(1)&nbsp;&nbsp;&nbsp; =0<BR>&gt; &gt; spamblacklisted&nbsp; tinyint(1)&nbsp;&nbsp;&nbsp; =0<BR>&gt; &gt; sascore&nbsp; decimal(7,2)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; some value<BR>&gt; &gt; spamreport&nbsp; text&nbsp;&nbsp; {Empty}<BR>&gt; &gt; I hope this helps shine light on my problem.&nbsp; Any ideas why this is<BR>&gt; &gt; happening?<BR>&gt; &gt; Thanks,<BR>&gt; &gt;<BR>&gt; &gt; Gary<BR>&gt; &gt;<BR>&gt; &gt; &gt;&gt;&gt; "Gary Faith" &lt;gafaith@asdm.net&gt; 6/25/2009 11:14 PM &gt;&gt;&gt;<BR>&gt; &gt; Running MailScanner 4.75.11 on SLES 10 SP2 X86_64.&nbsp; When viewing the<BR>&gt; &gt; information via MailWatch, I see the following on the details page:<BR>&gt; &gt; SpamAssassin Spam: Y&nbsp;&nbsp; Action(s): store, deliver, header,<BR>&gt; &gt; "X-Spam-Status:, Yes"<BR>&gt; &gt; High Scoring Spam: N<BR>&gt; &gt; SpamAssassin Spam: N<BR>&gt; &gt; Listed in RBL: N<BR>&gt; &gt; Spam Whitelisted: N<BR>&gt; &gt; Spam Blacklisted: N<BR>&gt; &gt; SpamAssassin Autolearn: N<BR>&gt; &gt; SpamAssassin Score:1.66<BR>&gt; &gt; The problem is Spam Report is blank.&nbsp; This happens on a few seemingly<BR>&gt; &gt; random messages while most have something in the spamreport field.&nbsp; I<BR>&gt; &gt; have verified this in the database that it definitely null.&nbsp; Any<BR>&gt; &gt; reason why all the data except the spam report would be logged to<BR>&gt; &gt; mysql?&nbsp; Could this be a spamassassin timeout problem?<BR>&gt; &gt; Thanks,<BR>&gt; &gt;<BR>&gt; &gt; Gary Faith<BR>&gt;<BR>&gt; Jules<BR>&gt;<BR>&gt; -- <BR>&gt; Julian Field MEng CITP CEng<BR>&gt; www.MailScanner.info<BR>&gt; Buy the MailScanner book at www.MailScanner.info/store<BR>&gt;<BR>&gt; Need help customising MailScanner?<BR>&gt; Contact me!<BR>&gt; Need help fixing or optimising your systems?<BR>&gt; Contact me!<BR>&gt; Need help getting you started solving new requirements from your boss?<BR>&gt; Contact me!<BR>&gt;<BR>&gt; PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<BR>&gt; Follow me at twitter.com/JulesFM and twitter.com/MailScanner<BR>&gt;<BR>&gt;<BR>&gt; -- <BR>&gt; This message has been scanned for viruses and<BR>&gt; dangerous content by MailScanner, and is<BR>&gt; believed to be clean.<BR>&gt;<BR><BR>Jules<BR><BR>-- <BR>Julian Field MEng CITP CEng<BR>www.MailScanner.info<BR>Buy the MailScanner book at www.MailScanner.info/store<BR><BR>Need help customising MailScanner?<BR>Contact me!<BR>Need help fixing or optimising your systems?<BR>Contact me!<BR>Need help getting you started solving new requirements from your boss?<BR>Contact me!<BR><BR>PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<BR>Follow me at twitter.com/JulesFM and twitter.com/MailScanner<BR><BR><BR>-- <BR>This message has been scanned for viruses and<BR>dangerous content by MailScanner, and is<BR>believed to be clean.<BR><BR>-- <BR>MailScanner mailing list<BR>mailscanner@lists.mailscanner.info<BR><A href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</A><BR><BR>Before posting, read <A href="http://wiki.mailscanner.info/posting">http://wiki.mailscanner.info/posting</A><BR><BR>Support MailScanner development - buy the book off the website! <BR></DIV></BODY></HTML>