<br><br><div class="gmail_quote">On Mon, Jun 16, 2008 at 2:46 PM, Glenn Steen &lt;<a href="mailto:glenn.steen@gmail.com">glenn.steen@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2008/6/16 Devon Harding &lt;<a href="mailto:devonharding@gmail.com">devonharding@gmail.com</a>&gt;:<br>
<div><div></div><div class="Wj3C7c">&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;Devon Harding wrote:<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;| I&#39;m getting alot of spam coming through and it seems like<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;the cause of<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;| this is BAYES_00 scoring messages with -2.60. &nbsp;I&#39;m running<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;MS 4.68.8<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;| with SA *Le Service des Technologies de l&#39;Information de<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;l&#39;UdeS veut vous mettre en garde contre &quot;3.2.4&quot; qui semble<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;être une tentative de fraude envers* <a href="http://3.2.4." target="_blank">3.2.4.</a> &lt;<a href="http://3.2.4" target="_blank">http://3.2.4</a>.&gt;<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;*Le Service des Technologies de l&#39;Information de l&#39;UdeS veut<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;vous mettre en garde contre &quot;3.2.4&quot; qui semble être une<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;tentative de fraude envers* <a href="http://3.2.4" target="_blank">http://3.2.4</a>.&gt; &nbsp;I&#39;ve already<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;trained hundreds of<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;| messages like these as spam and it doesn&#39;t seem to work.<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; What else can<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;| I do?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;My guess is that you are training the wrong database. You<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;train another<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;database and not the one you are using with MailScanner.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;Hugo.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp;For MS, where is the Bayes DB path specified? &nbsp;My DB is located here:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &nbsp; &nbsp;/etc/MailScanner/.spamassassin<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I think my BAYES is &nbsp;all messed up. &nbsp;How do I rebuild it from scratch?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; Devon,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Look here for a starter kit: <a href="http://www.fsl.com/resources.html" target="_blank">http://www.fsl.com/resources.html</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Denis<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve restored the starter DB and I do see the new files in<br>
&gt;&gt; /etc/MailScanner/.spamassassin (I stopped MailScanner and removed the one<br>
&gt;&gt; ones first), but SA Bayes DB Info from Mailwatch shows nothing. &nbsp;When I do a<br>
&gt;&gt; lint from the Tools tab, i Get the following:<br>
&gt;&gt;<br>
&gt;&gt; [5637] dbg: bayes: no dbs present, cannot tie DB R/O:<br>
&gt;&gt; //.spamassassin/bayes_toks<br>
&gt;<br>
&gt;<br>
&gt; Hmm....I thing Bayes IS working. &nbsp;I just ran MailScanner --debug --debug-sa<br>
&gt; after the restore and did see:<br>
&gt;<br>
&gt; 11:52:13 [5879] dbg: bayes: tie-ing to DB file R/W<br>
&gt; /root/.spamassassin/bayes_toks<br>
&gt; 11:52:13 [5879] dbg: bayes: tie-ing to DB file R/W<br>
&gt; /root/.spamassassin/bayes_seen<br>
&gt; 11:52:13 [5879] dbg: bayes: found bayes db version 3<br>
&gt; 11:52:13 [5879] dbg: bayes: learned<br>
&gt; &#39;88a47a16459989c19d47893de31fec608aa8f41e@sa_generated&#39;, atime: 1213631520<br>
&gt; 11:52:13 [5879] dbg: bayes: untie-ing<br>
&gt; 11:52:13 [5879] dbg: bayes: files locked, now unlocking lock<br>
&gt;<br>
&gt; It seems that MailWatch is the one thats not working right. &nbsp;Any way to<br>
&gt; relink this?<br>
&gt;<br>
&gt; -Devon<br>
&gt;<br>
</div></div>Make sure your apahce user (the one running your httpd processes...<br>
hence the one running MailWatch:-) can actually read the bayes<br>
files... &quot;su&quot; is your friend here... and if you want to be able to<br>
learn via MailWatch, make sure the same user can write them too.<br>
<br>
Cheers<br>
<font color="#888888">--</font></blockquote></div><br>I have the right permissions set, the thing is MailWatch is not showing any data for &#39;Bayes Database Information&#39;.&nbsp; What is the tie in for MailWatch?<br><br>-rw-rw---- 1 root apache&nbsp; 78K Jun 16 15:17 bayes_journal<br>
-rw-rw---- 1 root apache&nbsp; 895 Jun 16 15:17 bayes.mutex<br>-rw-rw---- 1 root apache 172K Jun 16 15:17 bayes_seen<br>-rw-rw---- 1 root apache 5.1M Jun 16 15:17 bayes_toks<br><br>-Devon<br>